aws_profile {raws.profile}R Documentation

User profile configuration

Description

Functions to configure and visualize the user credentials. You can see a profile settings using profile_settings() and vizualise all profiles created using list_profiles(). The AWS CLI saves your credentials in ~/.aws folder, so, for security reasons, delete your credentials when you finish your work using delete_all_profiles().

Usage

create_profile(profile = "default", access_key = NULL,
  secret_key = NULL, region = NULL)

profile_settings(profile = "default")

Arguments

profile

The profile-name. If profile was not supplied create_profile() will create a default profile.

access_key

The access key create by AWS.

secret_key

The secret key create by AWS.

region

The default region

Examples

## Not run: 
# To run these examples you need the AWS CLI, use
# aws_cli_install() if it is not installed.

# create a default user
create_profile(access_key = "my_access_key_1",
               secret_key = "123456789",
               region = "us-east-1" )

# verify if the user was created
profile_settings()

# you can also create a user with a profile name
create_profile(profile = "profile_name",
               access_key = "my_access_key_2",
               secret_key = "987654321",
               region = "us-west-1")

# verify if the user was created
profile_settings(profile = "profile_name")

# remove your credentials from this computer
delete_all_profiles()

## End(Not run)


[Package raws.profile version 0.1.0 Index]