Description Usage Arguments Examples
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()
.
1 2 3 4 | create_profile(profile = "default", access_key = NULL,
secret_key = NULL, region = NULL)
profile_settings(profile = "default")
|
profile |
The profile-name. If profile was not supplied
|
access_key |
The access key create by AWS. |
secret_key |
The secret key create by AWS. |
region |
The default region |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.