Difference between revisions of "Aws iam create-user"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
https://docs.aws.amazon.com/cli/latest/reference/iam/create-user.html | https://docs.aws.amazon.com/cli/latest/reference/iam/create-user.html | ||
* <code>[[aws iam]] create-user</code> | * <code>[[aws iam]] create-user</code> | ||
+ | * <code>[[aws iam create-user --user-name]]</code> | ||
== Examples == | == Examples == | ||
* <code>[[aws iam]] create-user --user-name YourBobUsername</code> | * <code>[[aws iam]] create-user --user-name YourBobUsername</code> | ||
+ | aws iam create-user --user-name [[ebs-csi-user]] | ||
+ | { | ||
+ | "User": { | ||
+ | "Path": "/", | ||
+ | "UserName": "ebs-csi-user", | ||
+ | "UserId": "AAAAAAQ3JJAXOMM5PQ3IS", | ||
+ | "Arn": "arn:aws:iam::0987654321:user/ebs-csi-user", | ||
+ | "CreateDate": "2022-09-26T06:48:55+00:00" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | == Errors == | ||
+ | An error occurred ([[InvalidClientTokenId]]) when calling the [[CreateUser]] operation: The security token included in the request is invalid. | ||
== Related == | == Related == | ||
* <code>[[aws iam attach-user-policy]]</code> | * <code>[[aws iam attach-user-policy]]</code> | ||
* <code>[[aws iam create-login-profile]]</code> | * <code>[[aws iam create-login-profile]]</code> | ||
+ | * <code>[[aws iam create-group]]</code> | ||
+ | * <code>[[aws iam create-role]]</code> | ||
+ | * [[KOPS: creating kops user and permissions]] | ||
+ | * <code>[[aws_iam_user]]</code> | ||
+ | * [[create-access-key]] | ||
== See also == | == See also == |
Latest revision as of 15:15, 21 November 2023
https://docs.aws.amazon.com/cli/latest/reference/iam/create-user.html
aws iam create-user
aws iam create-user --user-name
Contents
Examples[edit]
aws iam create-user --user-name YourBobUsername
aws iam create-user --user-name ebs-csi-user { "User": { "Path": "/", "UserName": "ebs-csi-user", "UserId": "AAAAAAQ3JJAXOMM5PQ3IS", "Arn": "arn:aws:iam::0987654321:user/ebs-csi-user", "CreateDate": "2022-09-26T06:48:55+00:00" } }
Errors[edit]
An error occurred (InvalidClientTokenId) when calling the CreateUser operation: The security token included in the request is invalid.
Related[edit]
aws iam attach-user-policy
aws iam create-login-profile
aws iam create-group
aws iam create-role
- KOPS: creating kops user and permissions
aws_iam_user
- create-access-key
See also[edit]
aws iam
[create-user
,create-group, get-user
,list-users
|list-policies
|list-attached-user-policies
|attach-user-policy
|list-attached-user-policies
|list-roles
|get-account-summary
|put-group-policy | put-role-policy | put-user-policy
|create-login-profile
|aws iam delete-virtual-mfa-device
|aws iam list-virtual-mfa-devices
|aws iam create-saml-provider
|aws iam list-account-aliases
|aws iam create-role | aws iam change-password| enable-mfa-device | list-instance-profiles
Advertising: