Difference between revisions of "Aws iam create-user"

From wikieduonline
Jump to navigation Jump to search
 
(7 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]]
 
* [[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

Advertising: