EIM API 2010-05-08

The Elastic Identity Management (EIM) API enables you to manage identities and accesses for your resources in the OUTSCALE Cloud.
It is compliant with the Identity and Access Management (IAM) API of Amazon Web Services (AWS). See the AWS Compatibility Matrix

Throttling: To protect against overloads, the number of identical requests allowed in a given time period is limited.
Brute force: To protect against brute force attacks, the number of failed authentication attempts in a given time period is limited.

Base URLs:

Terms of service. Email: support@outscale.com. License: BSD 3 Clause.

Authentication Schemes

Access Key/Secret Key

The main way to authenticate your requests to this API is to use an access key and a secret key.
The mechanism behind this is based on AWS Signature Version 4, whose technical implementation details are described in Signature of API Requests.

In practice, the way to specify your access key and secret key depends on the tool or SDK you want to use to interact with the API.

For example, if you use OSC CLI:

  1. You need to create an ~/.osc/config.json file to specify your access key, secret key, and the Region of your account.
  2. You then specify the --profile option when executing OSC CLI commands.

For more information, see Installing and Configuring OSC CLI.

See the code samples in each section of this documentation for specific examples in different programming languages.
For more information about access keys, see About Access Keys.

Other Security Mechanisms

In parallel with the authentication schemes, you can add other security mechanisms to your OUTSCALE account, for example to restrict API requests by IP or other criteria.
For more information, see Managing Your API Accesses.

Access Keys

CreateAccessKey

GET /CreateAccessKey

Creates an access key for the specified user. The new key is automatically set to Active.

For more information, see About Access Keys.
This AWS-compliant method corresponds to CreateAccessKey in the OUTSCALE API.

Code samples

osc-cli eim CreateAccessKey --profile "default" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=CreateAccessKey' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
UserName string The user name of the owner of the key to be created. If you do not specify a user name, this action creates an access key for the user who sends the request.

Responses

Status Description Schema
200 The HTTP 200 response (OK). CreateAccessKeyResponse

Example responses

200 Response

{
  "AccessKey": {
    "AccessKeyId": "string",
    "CreateDate": "string",
    "SecretAccessKey": "string",
    "Status": "string",
    "UserName": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteAccessKey

GET /DeleteAccessKey

Deletes the specified access key of the specified user.

This AWS-compliant method corresponds to DeleteAcessKey in the OUTSCALE API.

Code samples

osc-cli eim DeleteAccessKey --profile "default" \
  --AccessKeyId "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteAccessKey' \
  --data-urlencode 'AccessKeyId=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
AccessKeyId (required) string The ID of the access key you want to delete.
UserName string The user name the access key you want to delete is associated with. By default, the user who sends the request.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteAccessKeyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListAccessKeys

GET /ListAccessKeys

Lists information about the access key IDs of the specified user.

This AWS-compliant method corresponds to ReadAccessKeys in the OUTSCALE API.

Code samples

osc-cli eim ListAccessKeys --profile "default" \
  --Marker "string" \
  --MaxItems 0 \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListAccessKeys' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).
UserName string The name of the user. By default, the user who sends the request.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListAccessKeysResponse

Example responses

200 Response

{
  "AccessKeyMetadata": [
    {
      "AccessKeyId": "string",
      "CreateDate": "string",
      "Status": "string",
      "UserName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateAccessKey

GET /UpdateAccessKey

Modifies the status of the specified access key from Active to Inactive, or from Inactive to Active.
The Active status means that the user the access key is associated with can use it for API calls. The Inactive status means the access key is disabled.

This AWS-compliant method corresponds to UpdateAccessKey in the OUTSCALE API.

Code samples

osc-cli eim UpdateAccessKey --profile "default" \
  --AccessKeyId "string" \
  --Status "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=UpdateAccessKey' \
  --data-urlencode 'AccessKeyId=string' \
  --data-urlencode 'Status=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
AccessKeyId (required) string The ID of the access key.
Status (required) string The status of the access key (Active | Inactive).
UserName string The user name the access key you want to modify is associated with. If you do not specify a user name, this action modifies the access key of the user who sends the request.

Responses

Status Description Schema
200 The HTTP 200 response (OK). UpdateAccessKeyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

Certificates

DeleteServerCertificate

GET /DeleteServerCertificate

Deletes a specified server certificate.

This AWS-compliant method corresponds to DeleteServerCertificate in the OUTSCALE API.

Code samples

osc-cli eim DeleteServerCertificate --profile "default" \
  --ServerCertificateName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteServerCertificate' \
  --data-urlencode 'ServerCertificateName=string'

Available Parameters

Name Type Description
ServerCertificateName (required) string The name of the server certificate you want to delete.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteServerCertificateResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetServerCertificate

GET /GetServerCertificate

Retrieves information about a specified server certificate.

Code samples

osc-cli eim GetServerCertificate --profile "default" \
  --ServerCertificateName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetServerCertificate' \
  --data-urlencode 'ServerCertificateName=string'

Available Parameters

Name Type Description
ServerCertificateName (required) string The name of the server certificate you want information about.

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetServerCertificateResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificate": {
    "CertificateBody": "string",
    "CertificateChain": "string",
    "ServerCertificateMetadata": {
      "Arn": "string",
      "Expiration": "string",
      "Path": "string",
      "ServerCertificateId": "string",
      "ServerCertificateName": "string",
      "UploadDate": "string"
    }
  }
}

ListServerCertificates

GET /ListServerCertificates

Lists your server certificates.

This AWS-compliant method corresponds to ReadServerCertificates in the OUTSCALE API.

Code samples

osc-cli eim ListServerCertificates --profile "default" \
  --Marker "string" \
  --MaxItems 0 \
  --PathPrefix "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListServerCertificates' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'PathPrefix=string'

Available Parameters

Name Type Description
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 1000).
PathPrefix string The path prefix of the server certificates, set to a slash (/) if not specified.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListServerCertificatesResponse

Example responses

200 Response

{
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificateMetadataList": [
    {
      "Arn": "string",
      "Expiration": "string",
      "Path": "string",
      "ServerCertificateId": "string",
      "ServerCertificateName": "string",
      "UploadDate": "string"
    }
  ]
}

UpdateServerCertificate

GET /UpdateServerCertificate

Modifies the name and/or the path of a specified server certificate.

This AWS-compliant method corresponds to UpdateServerCertificate in the OUTSCALE API.

Code samples

osc-cli eim UpdateServerCertificate --profile "default" \
  --NewPath "string" \
  --NewServerCertificateName "string" \
  --ServerCertificateName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=UpdateServerCertificate' \
  --data-urlencode 'NewPath=string' \
  --data-urlencode 'NewServerCertificateName=string' \
  --data-urlencode 'ServerCertificateName=string'

Available Parameters

Name Type Description
NewPath string A new path for the server certificate.
NewServerCertificateName string A new name for the server certificate.
ServerCertificateName (required) string The name of the server certificate you want to modify.

Responses

Status Description Schema
200 The HTTP 200 response (OK). UpdateServerCertificateResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UploadServerCertificate

GET /UploadServerCertificate

Uploads a server certificate and its matching private key.
These elements can be used with other services (for example, to configure SSL termination on load balancers).
You can also specify the chain of intermediate certification authorities if your certificate is not directly signed by a root one. You can specify multiple intermediate certification authorities in the CertificateChain parameter. To do so, concatenate all certificates in the correct order (the first certificate must be the authority of your certificate, the second must the the authority of the first one, and so on).

The private key must be a RSA key in PKCS1 form. To check this, open the PEM file and ensure its header reads as follows: BEGIN RSA PRIVATE KEY.

[IMPORTANT]

This private key must not be protected by a password or a passphrase.

For more information, see About Server Certificates in EIM.
This AWS-compliant method corresponds to CreateServerCertificate in the OUTSCALE API.

Code samples

osc-cli eim UploadServerCertificate --profile "default" \
  --CertificateBody="$(cat certificate.pem)" \
  --CertificateChain="$(cat certificate-chain.pem)" \
  --Path "string" \
  --PrivateKey="$(cat private-key.pem)" \
  --ServerCertificateName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=UploadServerCertificate' \
  --data-urlencode 'CertificateBody=string' \
  --data-urlencode 'CertificateChain=string' \
  --data-urlencode 'Path=string' \
  --data-urlencode 'PrivateKey=string' \
  --data-urlencode 'ServerCertificateName=string'

Available Parameters

Name Type Description
CertificateBody (required) string The PEM-encoded X509 certificate.
With OSC CLI, use the following syntax to make sure your CA file is correctly parsed: --CaPem="$(cat FILENAME)".
CertificateChain string The PEM-encoded intermediate certification authorities.
With OSC CLI, use the following syntax to make sure your CA file is correctly parsed: --CaPem="$(cat FILENAME)".
Path string The path to the server certificate, set to a slash (/) if not specified.
PrivateKey (required) string The PEM-encoded private key matching the certificate.
With OSC CLI, use the following syntax to make sure your CA file is correctly parsed: --CaPem="$(cat FILENAME)".
ServerCertificateName (required) string A unique name for the certificate.
Constraints: 1-128 alphanumeric characters, pluses (+), equals (=), commas (,), periods (.), at signs (@), minuses (-), or underscores (_).

Responses

Status Description Schema
200 The HTTP 200 response (OK). UploadServerCertificateResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificateMetadata": {
    "Arn": "string",
    "Expiration": "string",
    "Path": "string",
    "ServerCertificateId": "string",
    "ServerCertificateName": "string",
    "UploadDate": "string"
  }
}

Groups

AddUserToGroup

GET /AddUserToGroup

Adds a user to a specified group.

Code samples

osc-cli eim AddUserToGroup --profile "default" \
  --GroupName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=AddUserToGroup' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group you want to add a user to.
UserName (required) string The name of the user you want to add to the group.

Responses

Status Description Schema
200 The HTTP 200 response (OK). AddUserToGroupResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreateGroup

GET /CreateGroup

Creates a group to which you can add EIM users.
You can also add an inline policy or attach a managed policy to the group, which is applied to all its users.

For more information, see About EIM Groups.

Code samples

osc-cli eim CreateGroup --profile "default" \
  --GroupName "string" \
  --Path "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=CreateGroup' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'Path=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group to be created.
Path string The path to the group, set to a slash (/) if not specified.

Responses

Status Description Schema
200 The HTTP 200 response (OK). CreateGroupResponse

Example responses

200 Response

{
  "Group": {
    "Arn": "string",
    "CreateDate": "string",
    "GroupId": "string",
    "GroupName": "string",
    "Path": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteGroup

GET /DeleteGroup

Deletes a specified group.
The group must be empty of any user and must not have any attached policy.

Code samples

osc-cli eim DeleteGroup --profile "default" \
  --GroupName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteGroup' \
  --data-urlencode 'GroupName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group you want to delete.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteGroupResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetGroup

GET /GetGroup

Retrieves the list of users that are in a specified group or lists the groups a user belongs to.

Code samples

osc-cli eim GetGroup --profile "default" \
  --GroupName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetGroup' \
  --data-urlencode 'GroupName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group.

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetGroupResponse

Example responses

200 Response

{
  "Group": {
    "Arn": "string",
    "CreateDate": "string",
    "GroupId": "string",
    "GroupName": "string",
    "Path": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Users": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "PasswordLastUsed": "string",
      "Path": "string",
      "UserId": "string",
      "UserName": "string"
    }
  ]
}

ListGroups

GET /ListGroups

Lists the groups with the specified path prefix.
If you do not specify any path prefix, this action returns all the groups (or an empty list if there are none).

Code samples

osc-cli eim ListGroups --profile "default" \
  --PathPrefix "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListGroups' \
  --data-urlencode 'PathPrefix=string'

Available Parameters

Name Type Description
PathPrefix string The path prefix with which you want to filter the results. If not specified, it is set to a slash (/).

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListGroupsResponse

Example responses

200 Response

{
  "Groups": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "GroupId": "string",
      "GroupName": "string",
      "Path": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListGroupsForUser

GET /ListGroupsForUser

Lists the groups a specified user belongs to.

Code samples

osc-cli eim ListGroupsForUser --profile "default" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListGroupsForUser' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
UserName (required) string The name of the user.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListGroupsForUserResponse

Example responses

200 Response

{
  "Groups": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "GroupId": "string",
      "GroupName": "string",
      "Path": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

RemoveUserFromGroup

GET /RemoveUserFromGroup

Removes a specified user from a specified group.

Code samples

osc-cli eim RemoveUserFromGroup --profile "default" \
  --GroupName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=RemoveUserFromGroup' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group you want to remove the user from.
UserName (required) string The name of the user you want to remove from the group.

Responses

Status Description Schema
200 The HTTP 200 response (OK). RemoveUserFromGroupResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateGroup

GET /UpdateGroup

Modifies the name and/or the path of a specified group.

Code samples

osc-cli eim UpdateGroup --profile "default" \
  --GroupName "string" \
  --NewGroupName "string" \
  --NewPath "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=UpdateGroup' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'NewGroupName=string' \
  --data-urlencode 'NewPath=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group you want to modify.
NewGroupName string A new name for the group.
NewPath string A new path for the group.

Responses

Status Description Schema
200 The HTTP 200 response (OK). UpdateGroupResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

Policies

AttachGroupPolicy

GET /AttachGroupPolicy

Attaches a managed policy to a specific group. This policy applies to all the users contained in this group.

Code samples

osc-cli eim AttachGroupPolicy --profile "default" \
  --GroupName "string" \
  --PolicyArn "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=AttachGroupPolicy' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'PolicyArn=string'

Available Parameters

Name Type Description
GroupName (required) string The friendly name given to the group you want to attach the policy to (between 1 and 128 characters).
PolicyArn (required) string The unique resource identifier for the policy (between 20 and 2048 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). AttachGroupPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

AttachUserPolicy

GET /AttachUserPolicy

Attaches a managed policy to a specific user.

This AWS-compliant method corresponds to LinkPolicy in the OUTSCALE API.

Code samples

osc-cli eim AttachUserPolicy --profile "default" \
  --PolicyArn "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=AttachUserPolicy' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique resource identifier for the policy (between 20 and 2048 characters).
UserName (required) string The friendly name of the user you want to attach the policy to (between 1 and 64 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). AttachUserPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreatePolicy

GET /CreatePolicy

Creates a managed policy to apply to a user or a group.
This action creates a policy version and sets v1 as the default one.

For more information, see About Policies.
This AWS-compliant method corresponds to CreatePolicy in the OUTSCALE API.

Code samples

osc-cli eim CreatePolicy --profile "default" \
  --Description "string" \
  --Path "string" \
  --PolicyDocument "string" \
  --PolicyName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=CreatePolicy' \
  --data-urlencode 'Description=string' \
  --data-urlencode 'Path=string' \
  --data-urlencode 'PolicyDocument=string' \
  --data-urlencode 'PolicyName=string'

Available Parameters

Name Type Description
Description string A friendly description of the policy, in which you can write information about the permissions contained in the policy.
Path string The path to the policy.
PolicyDocument (required) string The policy document, corresponding to a JSON string that contains the policy. For more information, see EIM Reference Information.
PolicyName (required) string The name of the policy.

Responses

Status Description Schema
200 The HTTP 200 response (OK). CreatePolicyResponse

Example responses

200 Response

{
  "Policy": {
    "Arn": "string",
    "AttachmentCount": 0,
    "CreateDate": "string",
    "DefaultVersionId": "string",
    "Description": "string",
    "IsAttachable": true,
    "Path": "string",
    "PolicyId": "string",
    "PolicyName": "string",
    "UpdateDate": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreatePolicyVersion

GET /CreatePolicyVersion

Creates a version of a specified managed policy.
A managed policy can have up to five versions.

This AWS-compliant method corresponds to CreatePolicyVersion in the OUTSCALE API.

Code samples

osc-cli eim CreatePolicyVersion --profile "default" \
  --PolicyArn "string" \
  --PolicyDocument "string" \
  --SetAsDefault True

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=CreatePolicyVersion' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'PolicyDocument=string' \
  --data-urlencode 'SetAsDefault=true'

Available Parameters

Name Type Description
PolicyArn (required) string The OUTSCALE Resource Name (ORN) of the policy. For more information, see Resource Identifiers.
PolicyDocument (required) string The policy document, corresponding to a JSON string that contains the new version of the policy. For more information, see EIM Reference Information.
SetAsDefault boolean If set to true, the new policy version is the default version and becomes the operative one.

Responses

Status Description Schema
200 The HTTP 200 response (OK). CreatePolicyVersionResponse

Example responses

200 Response

{
  "PolicyVersion": {
    "CreateDate": "string",
    "Document": "string",
    "IsDefaultVersion": true,
    "VersionId": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteGroupPolicy

GET /DeleteGroupPolicy

Deletes a specified inline policy from a specific group.

Code samples

osc-cli eim DeleteGroupPolicy --profile "default" \
  --GroupName "string" \
  --PolicyName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteGroupPolicy' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'PolicyName=string'

Available Parameters

Name Type Description
GroupName (required) string The friendly name of the group (between 1 and 128 characters).
PolicyName (required) string The name of the policy document you want to delete (between 1 and 128 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteGroupPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeletePolicy

GET /DeletePolicy

Deletes a managed policy.
Before removing a managed policy, you must detach all users or groups attached to it and remove all the versions of the policy using the DeletePolicyVersion method.

This AWS-compliant method corresponds to DeletePolicy in the OUTSCALE API.

Code samples

osc-cli eim DeletePolicy --profile "default" \
  --PolicyArn "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeletePolicy' \
  --data-urlencode 'PolicyArn=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique resource identifier of the policy you want to delete.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeletePolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeletePolicyVersion

GET /DeletePolicyVersion

Deletes a specified version of a managed policy, if it not set as the default one.

This AWS-compliant method corresponds to DeletePolicyVersion in the OUTSCALE API.

Code samples

osc-cli eim DeletePolicyVersion --profile "default" \
  --PolicyArn "string" \
  --VersionId "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeletePolicyVersion' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'VersionId=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique identifier (ARN) of the policy.
VersionId (required) string The ID of the version.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeletePolicyVersionResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteUserPolicy

GET /DeleteUserPolicy

Deletes a specified inline policy from a specific user.

Code samples

osc-cli eim DeleteUserPolicy --profile "default" \
  --PolicyName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteUserPolicy' \
  --data-urlencode 'PolicyName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
PolicyName (required) string The name of the policy document you want to delete (between 1 and 128 characters).
UserName (required) string The friendly name of the user (between 1 and 64 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteUserPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DetachGroupPolicy

GET /DetachGroupPolicy

Removes a managed policy from a specific group.

Code samples

osc-cli eim DetachGroupPolicy --profile "default" \
  --GroupName "string" \
  --PolicyArn "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DetachGroupPolicy' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'PolicyArn=string'

Available Parameters

Name Type Description
GroupName (required) string The friendly name of the group you want to detach the policy from (length between 1 and 128).
PolicyArn (required) string The unique resource identifier for the policy (between 20 and 2048 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). DetachGroupPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DetachUserPolicy

GET /DetachUserPolicy

Removes a managed policy from a specific user.

This AWS-compliant method corresponds to UnlinkPolicy in the OUTSCALE API.

Code samples

osc-cli eim DetachUserPolicy --profile "default" \
  --PolicyArn "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DetachUserPolicy' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique resource identifier for the policy (between 20 and 2048 characters).
UserName (required) string The friendly name of the user you want to detach the policy from (length between 1 and 64).

Responses

Status Description Schema
200 The HTTP 200 response (OK). DetachUserPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetGroupPolicy

GET /GetGroupPolicy

Returns information about an inline policy included in a specified group.

Code samples

osc-cli eim GetGroupPolicy --profile "default" \
  --GroupName "string" \
  --PolicyName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetGroupPolicy' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'PolicyName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group (between 1 and 128 characters).
PolicyName (required) string The name of the policy (between 1 and 128 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetGroupPolicyResponse

Example responses

200 Response

{
  "GroupName": "string",
  "PolicyDocument": "string",
  "PolicyName": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetPolicy

GET /GetPolicy

Retrieves information about a specified managed policy (default version, users or groups the policy is attached to).
To get information about inline policies, use the GetUserPolicy and GetGroupPolicy methods.

This AWS-compliant method corresponds to ReadPolicy in the OUTSCALE API.

Code samples

osc-cli eim GetPolicy --profile "default" \
  --PolicyArn "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetPolicy' \
  --data-urlencode 'PolicyArn=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique ressource identifier for the policy.

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetPolicyResponse

Example responses

200 Response

{
  "Policy": {
    "Arn": "string",
    "AttachmentCount": 0,
    "CreateDate": "string",
    "DefaultVersionId": "string",
    "Description": "string",
    "IsAttachable": true,
    "Path": "string",
    "PolicyId": "string",
    "PolicyName": "string",
    "UpdateDate": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetPolicyVersion

GET /GetPolicyVersion

Gets information about a specified version of a managed policy.

This AWS-compliant method corresponds to ReadPolicyVersion in the OUTSCALE API.

Code samples

osc-cli eim GetPolicyVersion --profile "default" \
  --PolicyArn "string" \
  --VersionId "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetPolicyVersion' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'VersionId=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique identifier (ARN) of the policy.
VersionId (required) string The ID of the version.

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetPolicyVersionResponse

Example responses

200 Response

{
  "PolicyVersion": {
    "CreateDate": "string",
    "Document": "string",
    "IsDefaultVersion": true,
    "VersionId": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetUserPolicy

GET /GetUserPolicy

Returns information about an inline policy included in a specified user.

Code samples

osc-cli eim GetUserPolicy --profile "default" \
  --PolicyName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetUserPolicy' \
  --data-urlencode 'PolicyName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
PolicyName (required) string The name of the policy (between 1 and 128 characters).
UserName (required) string The name of the user (between 1 and 64 characters).

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetUserPolicyResponse

Example responses

200 Response

{
  "PolicyDocument": "string",
  "PolicyName": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "UserName": "string"
}

ListAttachedGroupPolicies

GET /ListAttachedGroupPolicies

Lists the managed policies attached to a specified group.

Code samples

osc-cli eim ListAttachedGroupPolicies --profile "default" \
  --GroupName "string" \
  --Marker "string" \
  --MaxItems 0 \
  --PathPrefix "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListAttachedGroupPolicies' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'PathPrefix=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group.
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).
PathPrefix string The path prefix of the policies, set to a slash (/) if not specified.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListAttachedGroupPoliciesResponse

Example responses

200 Response

{
  "AttachedPolicies": [
    {
      "PolicyArn": "string",
      "PolicyName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListAttachedUserPolicies

GET /ListAttachedUserPolicies

Lists the managed policies attached to a specified user.

This AWS-compliant method corresponds to ReadLinkedPolicies in the OUTSCALE API.

Code samples

osc-cli eim ListAttachedUserPolicies --profile "default" \
  --Marker "string" \
  --MaxItems 0 \
  --PathPrefix "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListAttachedUserPolicies' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'PathPrefix=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).
PathPrefix string The path prefix of the policies, set to a slash (/) if not specified.
UserName (required) string The name of the user.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListAttachedUserPoliciesResponse

Example responses

200 Response

{
  "AttachedPolicies": [
    {
      "PolicyArn": "string",
      "PolicyName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListGroupPolicies

GET /ListGroupPolicies

Lists the names of the inline policies embedded in a specific group.

Code samples

osc-cli eim ListGroupPolicies --profile "default" \
  --GroupName "string" \
  --Marker "string" \
  --MaxItems 0

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListGroupPolicies' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0'

Available Parameters

Name Type Description
GroupName (required) string The name of the group.
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListGroupPoliciesResponse

Example responses

200 Response

{
  "IsTruncated": true,
  "Marker": "string",
  "PolicyNames": [
    "string"
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListPolicies

GET /ListPolicies

Lists all the managed policies available for your account.

This AWS-compliant method corresponds to ReadPolicies in the OUTSCALE API.

Code samples

osc-cli eim ListPolicies --profile "default" \
  --Marker "string" \
  --MaxItems 0 \
  --OnlyAttached True \
  --PathPrefix "string" \
  --Scope "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListPolicies' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'OnlyAttached=true' \
  --data-urlencode 'PathPrefix=string' \
  --data-urlencode 'Scope=string'

Available Parameters

Name Type Description
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).
OnlyAttached boolean If set to true, lists only the policies attached to a user or a group.
PathPrefix string The path prefix you can use to filter the results, set to a slash (/) by default.
Scope string The scope to filter policies (ALL | OWS | local).

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListPoliciesResponse

Example responses

200 Response

{
  "IsTruncated": true,
  "Marker": "string",
  "Policies": [
    {
      "Arn": "string",
      "AttachmentCount": 0,
      "CreateDate": "string",
      "DefaultVersionId": "string",
      "Description": "string",
      "IsAttachable": true,
      "Path": "string",
      "PolicyId": "string",
      "PolicyName": "string",
      "UpdateDate": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListPolicyVersions

GET /ListPolicyVersions

Lists information about all the policy versions of a specified managed policy.

This AWS-compliant method corresponds to ReadPolicyVersions in the OUTSCALE API.

Code samples

osc-cli eim ListPolicyVersions --profile "default" \
  --Marker "string" \
  --MaxItems 0 \
  --PolicyArn "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListPolicyVersions' \
  --data-urlencode 'Marker=string' \
  --data-urlencode 'MaxItems=0' \
  --data-urlencode 'PolicyArn=string'

Available Parameters

Name Type Description
Marker string The marker to request the next results page.
MaxItems integer The maximum number of items that can be returned in a single page (by default, 100).
PolicyArn (required) string The OUTSCALE Resource Name (ORN) of the policy.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListPolicyVersionsResponse

Example responses

200 Response

{
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Versions": [
    {
      "CreateDate": "string",
      "Document": "string",
      "IsDefaultVersion": true,
      "VersionId": "string"
    }
  ]
}

ListUserPolicies

GET /ListUserPolicies

Lists the names of inline policies included in a specified user.

Code samples

osc-cli eim ListUserPolicies --profile "default" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListUserPolicies' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
UserName (required) string The name of the user.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListUserPoliciesResponse

Example responses

200 Response

{
  "ListUserPoliciesResult": {
    "PolicyNames": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

PutGroupPolicy

GET /PutGroupPolicy

Creates or updates an inline policy included in a specified group.
The policy is automatically applied to all the users of the group after its creation.

Code samples

osc-cli eim PutGroupPolicy --profile "default" \
  --GroupName "string" \
  --PolicyDocument "string" \
  --PolicyName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=PutGroupPolicy' \
  --data-urlencode 'GroupName=string' \
  --data-urlencode 'PolicyDocument=string' \
  --data-urlencode 'PolicyName=string'

Available Parameters

Name Type Description
GroupName (required) string The name of the group.
PolicyDocument (required) string The policy document, corresponding to a JSON string that contains the policy. For more information, see EIM Reference Information.
PolicyName (required) string The name of the policy.

Responses

Status Description Schema
200 The HTTP 200 response (OK). PutGroupPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

PutUserPolicy

GET /PutUserPolicy

Creates or updates an inline policy included in a specified user.
The policy is automatically applied to the user after its creation.

Code samples

osc-cli eim PutUserPolicy --profile "default" \
  --PolicyDocument "string" \
  --PolicyName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=PutUserPolicy' \
  --data-urlencode 'PolicyDocument=string' \
  --data-urlencode 'PolicyName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
PolicyDocument (required) string The policy document, corresponding to a JSON string that contains the policy. For more information, see EIM Reference Information.
PolicyName (required) string The name of the policy.
UserName (required) string The name of the user.

Responses

Status Description Schema
200 The HTTP 200 response (OK). PutUserPolicyResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

SetDefaultPolicyVersion

GET /SetDefaultPolicyVersion

Sets a specified version of a managed policy as the default (operative) one.
You can modify the default version of a policy at any time.

This AWS-compliant method corresponds to SetDefaultPolicyVersion in the OUTSCALE API.

Code samples

osc-cli eim SetDefaultPolicyVersion --profile "default" \
  --PolicyArn "string" \
  --VersionId "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=SetDefaultPolicyVersion' \
  --data-urlencode 'PolicyArn=string' \
  --data-urlencode 'VersionId=string'

Available Parameters

Name Type Description
PolicyArn (required) string The unique identifier (ARN) of the policy.
VersionId (required) string The ID of the version.

Responses

Status Description Schema
200 The HTTP 200 response (OK). SetDefaultPolicyVersionResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

Users

CreateUser

GET /CreateUser

Creates a user for your account.

For more information, see About EIM Users.
This AWS-compliant method corresponds to CreateUser in the OUTSCALE API.

Code samples

osc-cli eim CreateUser --profile "default" \
  --Path "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=CreateUser' \
  --data-urlencode 'Path=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
Path string The path for the user name. If you do not specify a path, it is set to a slash (/).
UserName (required) string The name of the user to be created.

Responses

Status Description Schema
200 The HTTP 200 response (OK). CreateUserResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "User": {
    "Arn": "string",
    "CreateDate": "string",
    "PasswordLastUsed": "string",
    "Path": "string",
    "UserId": "string",
    "UserName": "string"
  }
}

DeleteUser

GET /DeleteUser

Deletes a specified user. The user must not belong to any group, nor have any key or attached policy.

This AWS-compliant method corresponds to DeleteUser in the OUTSCALE API.

Code samples

osc-cli eim DeleteUser --profile "default" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=DeleteUser' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
UserName (required) string The name of the user you want to delete.

Responses

Status Description Schema
200 The HTTP 200 response (OK). DeleteUserResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetUser

GET /GetUser

Gets information about a specified user, including its creation date, path, unique ID and Outscale Resource Name (ORN).
If you do not specify a user name, this action returns information about the user who sent the request.

This AWS-compliant method corresponds to ReadUsers in the OUTSCALE API.

Code samples

osc-cli eim GetUser --profile "default" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=GetUser' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
UserName string The name of the user.

Responses

Status Description Schema
200 The HTTP 200 response (OK). GetUserResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "User": {
    "Arn": "string",
    "CreateDate": "string",
    "PasswordLastUsed": "string",
    "Path": "string",
    "UserId": "string",
    "UserName": "string"
  }
}

ListUsers

GET /ListUsers

Lists all users that have a specified path prefix.
If you do not specify a path prefix, this action returns a list of all users in the account (or an empty list if there are none).

This AWS-compliant method corresponds to ReadUsers in the OUTSCALE API.

Code samples

osc-cli eim ListUsers --profile "default" \
  --PathPrefix "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=ListUsers' \
  --data-urlencode 'PathPrefix=string'

Available Parameters

Name Type Description
PathPrefix string The path prefix.

Responses

Status Description Schema
200 The HTTP 200 response (OK). ListUsersResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Users": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "PasswordLastUsed": "string",
      "Path": "string",
      "UserId": "string",
      "UserName": "string"
    }
  ]
}

UpdateUser

GET /UpdateUser

Modifies the name and/or the path of a specified user.

This AWS-compliant method corresponds to UpdateUser in the OUTSCALE API.

Code samples

osc-cli eim UpdateUser --profile "default" \
  --NewPath "string" \
  --NewUserName "string" \
  --UserName "string"

# You need Curl version 7.75 or later to use the --aws-sigv4 option

curl https://eim.$OSC_REGION.outscale.com \
  --user $OSC_ACCESS_KEY:$OSC_SECRET_KEY \
  --aws-sigv4 'aws:amz' \
  --data-urlencode 'Version=2010-05-08' \
  --data-urlencode 'Action=UpdateUser' \
  --data-urlencode 'NewPath=string' \
  --data-urlencode 'NewUserName=string' \
  --data-urlencode 'UserName=string'

Available Parameters

Name Type Description
NewPath string A new path for the user.
NewUserName string A new name for the user.
UserName (required) string The name of the user you want to modify.

Responses

Status Description Schema
200 The HTTP 200 response (OK). UpdateUserResponse

Example responses

200 Response

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

Schemas

AccessKey

Information about the access key.

Properties

Name Type Description
AccessKeyId string The ID of the access key.
CreateDate string The date of the creation of the access key.
SecretAccessKey string The secret key that enables you to send requests.
Status string The state of the access key (Active if the key is valid for API calls, or Inactive if not).
UserName string The name of the user the access key is associated with.

Schema

{
  "AccessKeyId": "string",
  "CreateDate": "string",
  "SecretAccessKey": "string",
  "Status": "string",
  "UserName": "string"
}

AccessKeyMetadata

A list of access keys and their metadata.

Properties

Name Type Description
AccessKeyId string The ID of the access key.
CreateDate string The date of the creation of the access key.
Status string The state of the access key (Active if the key is valid for API calls, or Inactive if not).
UserName string The name of the user the access key is associated with.

Schema

{
  "AccessKeyId": "string",
  "CreateDate": "string",
  "Status": "string",
  "UserName": "string"
}

AddUserToGroupResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

AttachGroupPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

AttachUserPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

AttachedPolicies

One or more policies attached to the specified user.

Properties

Name Type Description
PolicyArn string The unique identifier of the policy (between 20 and 2048 characters).
PolicyName string The name of the attached policy (between 1 and 128 characters).

Schema

{
  "PolicyArn": "string",
  "PolicyName": "string"
}

CreateAccessKeyResponse

Properties

Name Type Description
AccessKey AccessKey Information about the access key.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "AccessKey": {
    "AccessKeyId": "string",
    "CreateDate": "string",
    "SecretAccessKey": "string",
    "Status": "string",
    "UserName": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreateGroupResponse

Properties

Name Type Description
Group Group Information about the newly created group.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "Group": {
    "Arn": "string",
    "CreateDate": "string",
    "GroupId": "string",
    "GroupName": "string",
    "Path": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreatePolicyResponse

Properties

Name Type Description
Policy Policy Information about the newly created policy.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "Policy": {
    "Arn": "string",
    "AttachmentCount": 0,
    "CreateDate": "string",
    "DefaultVersionId": "string",
    "Description": "string",
    "IsAttachable": true,
    "Path": "string",
    "PolicyId": "string",
    "PolicyName": "string",
    "UpdateDate": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreatePolicyVersionResponse

Properties

Name Type Description
PolicyVersion PolicyVersion Information about the policy version.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "PolicyVersion": {
    "CreateDate": "string",
    "Document": "string",
    "IsDefaultVersion": true,
    "VersionId": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

CreateUserResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.
User User Information about the newly created user.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "User": {
    "Arn": "string",
    "CreateDate": "string",
    "PasswordLastUsed": "string",
    "Path": "string",
    "UserId": "string",
    "UserName": "string"
  }
}

DeleteAccessKeyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteGroupPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteGroupResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeletePolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeletePolicyVersionResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteServerCertificateResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteUserPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DeleteUserResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DetachGroupPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

DetachUserPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetGroupPolicyResponse

Properties

Name Type Description
GroupName string The name of the group in which the inline policy is included.
PolicyDocument string The policy document, providing a description of the policy.
PolicyName string The name of the inline policy.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "GroupName": "string",
  "PolicyDocument": "string",
  "PolicyName": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetGroupResponse

Properties

Name Type Description
Group Group Information about the newly created group.
ResponseMetadata ResponseMetadata Information about the response.
Users [Users] The list of users in the group.

Schema

{
  "Group": {
    "Arn": "string",
    "CreateDate": "string",
    "GroupId": "string",
    "GroupName": "string",
    "Path": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Users": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "PasswordLastUsed": "string",
      "Path": "string",
      "UserId": "string",
      "UserName": "string"
    }
  ]
}

GetPolicyResponse

Properties

Name Type Description
Policy Policy Information about the newly created policy.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "Policy": {
    "Arn": "string",
    "AttachmentCount": 0,
    "CreateDate": "string",
    "DefaultVersionId": "string",
    "Description": "string",
    "IsAttachable": true,
    "Path": "string",
    "PolicyId": "string",
    "PolicyName": "string",
    "UpdateDate": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetPolicyVersionResponse

Properties

Name Type Description
PolicyVersion PolicyVersion Information about the policy version.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "PolicyVersion": {
    "CreateDate": "string",
    "Document": "string",
    "IsDefaultVersion": true,
    "VersionId": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

GetServerCertificateResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.
ServerCertificate ServerCertificate Information about the specified server certificate.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificate": {
    "CertificateBody": "string",
    "CertificateChain": "string",
    "ServerCertificateMetadata": {
      "Arn": "string",
      "Expiration": "string",
      "Path": "string",
      "ServerCertificateId": "string",
      "ServerCertificateName": "string",
      "UploadDate": "string"
    }
  }
}

GetUserPolicyResponse

Properties

Name Type Description
PolicyDocument string The policy document, providing a description of the policy.
PolicyName string The name of the inline policy.
ResponseMetadata ResponseMetadata Information about the response.
UserName string The name of the user in which the inline policy is included.

Schema

{
  "PolicyDocument": "string",
  "PolicyName": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "UserName": "string"
}

GetUserResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.
User User Information about the newly created user.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "User": {
    "Arn": "string",
    "CreateDate": "string",
    "PasswordLastUsed": "string",
    "Path": "string",
    "UserId": "string",
    "UserName": "string"
  }
}

Group

Information about the newly created group.

Properties

Name Type Description
Arn string The unique identifier of the group (between 20 and 2048 characters).
CreateDate string The date and time of creation of the group, in ISO 8601 format.
GroupId string The ID of the group.
GroupName string The name of the group.
Path string The path to the group.

Schema

{
  "Arn": "string",
  "CreateDate": "string",
  "GroupId": "string",
  "GroupName": "string",
  "Path": "string"
}

Groups

One or more groups the specified user belongs to.

Properties

Name Type Description
Arn string The unique identifier of the group (between 20 and 2048 characters).
CreateDate string The date and time of creation of the group, in ISO 8601 format.
GroupId string The ID of the group.
GroupName string The name of the group.
Path string The path to the group.

Schema

{
  "Arn": "string",
  "CreateDate": "string",
  "GroupId": "string",
  "GroupName": "string",
  "Path": "string"
}

ListAccessKeysResponse

Properties

Name Type Description
AccessKeyMetadata [AccessKeyMetadata] A list of access keys and their metadata.
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "AccessKeyMetadata": [
    {
      "AccessKeyId": "string",
      "CreateDate": "string",
      "Status": "string",
      "UserName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListAttachedGroupPoliciesResponse

Properties

Name Type Description
AttachedPolicies [AttachedPolicies] One or more policies attached to the specified group.
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "AttachedPolicies": [
    {
      "PolicyArn": "string",
      "PolicyName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListAttachedUserPoliciesResponse

Properties

Name Type Description
AttachedPolicies [AttachedPolicies] One or more policies attached to the specified user.
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "AttachedPolicies": [
    {
      "PolicyArn": "string",
      "PolicyName": "string"
    }
  ],
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListGroupPoliciesResponse

Properties

Name Type Description
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
PolicyNames [string] One or more policy names.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "IsTruncated": true,
  "Marker": "string",
  "PolicyNames": [
    "string"
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListGroupsForUserResponse

Properties

Name Type Description
Groups [Groups] One or more groups the specified user belongs to.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "Groups": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "GroupId": "string",
      "GroupName": "string",
      "Path": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListGroupsResponse

Properties

Name Type Description
Groups [Groups] One or more groups with the specified path prefix.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "Groups": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "GroupId": "string",
      "GroupName": "string",
      "Path": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListPoliciesResponse

Properties

Name Type Description
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
Policies [Policies] Information about one or more policies.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "IsTruncated": true,
  "Marker": "string",
  "Policies": [
    {
      "Arn": "string",
      "AttachmentCount": 0,
      "CreateDate": "string",
      "DefaultVersionId": "string",
      "Description": "string",
      "IsAttachable": true,
      "Path": "string",
      "PolicyId": "string",
      "PolicyName": "string",
      "UpdateDate": "string"
    }
  ],
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListPolicyVersionsResponse

Properties

Name Type Description
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
ResponseMetadata ResponseMetadata Information about the response.
Versions [Versions] A list of all the versions of the policy.

Schema

{
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Versions": [
    {
      "CreateDate": "string",
      "Document": "string",
      "IsDefaultVersion": true,
      "VersionId": "string"
    }
  ]
}

ListServerCertificatesResponse

Properties

Name Type Description
IsTruncated boolean If true, there are more items to return using the marker in a new request.
Marker string The marker to request the next results page.
ResponseMetadata ResponseMetadata Information about the response.
ServerCertificateMetadataList [ServerCertificateMetadataList] Information about one or more server certificates.

Schema

{
  "IsTruncated": true,
  "Marker": "string",
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificateMetadataList": [
    {
      "Arn": "string",
      "Expiration": "string",
      "Path": "string",
      "ServerCertificateId": "string",
      "ServerCertificateName": "string",
      "UploadDate": "string"
    }
  ]
}

ListUserPoliciesResponse

Properties

Name Type Description
ListUserPoliciesResult ListUserPoliciesResult Information about one or more user policies.
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ListUserPoliciesResult": {
    "PolicyNames": "string"
  },
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ListUserPoliciesResult

Information about one or more user policies.

Properties

Name Type Description
PolicyNames string A list of policy names.

Schema

{
  "PolicyNames": "string"
}

ListUsersResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.
Users [Users] A list of users.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "Users": [
    {
      "Arn": "string",
      "CreateDate": "string",
      "PasswordLastUsed": "string",
      "Path": "string",
      "UserId": "string",
      "UserName": "string"
    }
  ]
}

Policies

Information about one or more policies.

Properties

Name Type Description
Arn string The unique identifier of the resource (between 20 and 2048 characters).
AttachmentCount integer The number of resources attached to the policy.
CreateDate string The date and time of creation of the policy, in ISO 8601 format.
DefaultVersionId string The ID of the policy default version.
Description string A friendly name for the policy (between 0 and 1000 characters).
IsAttachable boolean Indicates whether the policy can be attached to a group or an EIM user.
Path string The path to the policy.
PolicyId string The ID of the policy (between 16 and 32 characters).
PolicyName string The name of the policy (between 1 and 128 characters).
UpdateDate string The date and time when the policy was last updated, in ISO 8601 format.

Schema

{
  "Arn": "string",
  "AttachmentCount": 0,
  "CreateDate": "string",
  "DefaultVersionId": "string",
  "Description": "string",
  "IsAttachable": true,
  "Path": "string",
  "PolicyId": "string",
  "PolicyName": "string",
  "UpdateDate": "string"
}

Policy

Information about the newly created policy.

Properties

Name Type Description
Arn string The unique identifier of the resource (between 20 and 2048 characters).
AttachmentCount integer The number of resources attached to the policy.
CreateDate string The date and time of creation of the policy, in ISO 8601 format.
DefaultVersionId string The ID of the policy default version.
Description string A friendly name for the policy (between 0 and 1000 characters).
IsAttachable boolean Indicates whether the policy can be attached to a group or an EIM user.
Path string The path to the policy.
PolicyId string The ID of the policy (between 16 and 32 characters).
PolicyName string The name of the policy (between 1 and 128 characters).
UpdateDate string The date and time when the policy was last updated, in ISO 8601 format.

Schema

{
  "Arn": "string",
  "AttachmentCount": 0,
  "CreateDate": "string",
  "DefaultVersionId": "string",
  "Description": "string",
  "IsAttachable": true,
  "Path": "string",
  "PolicyId": "string",
  "PolicyName": "string",
  "UpdateDate": "string"
}

PolicyVersion

Information about the policy version.

Properties

Name Type Description
CreateDate string The date of the creation of the version.
Document string The policy document as a json string.
IsDefaultVersion boolean If true, the version is the default one.
VersionId string The ID of the version.

Schema

{
  "CreateDate": "string",
  "Document": "string",
  "IsDefaultVersion": true,
  "VersionId": "string"
}

PutGroupPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

PutUserPolicyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

RemoveUserFromGroupResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

ResponseMetadata

Information about the response.

Properties

Name Type Description
RequestId string The ID of the request.

Schema

{
  "RequestId": "string"
}

ServerCertificate

Information about the specified server certificate.

Properties

Name Type Description
CertificateBody string The PEM-encoded x509 certificate.
CertificateChain string The PEM-encoded intermediate certification authorities.
ServerCertificateMetadata ServerCertificateMetadata The metadata of the server certificate.

Schema

{
  "CertificateBody": "string",
  "CertificateChain": "string",
  "ServerCertificateMetadata": {
    "Arn": "string",
    "Expiration": "string",
    "Path": "string",
    "ServerCertificateId": "string",
    "ServerCertificateName": "string",
    "UploadDate": "string"
  }
}

ServerCertificateMetadata

The metadata of the server certificate.

Properties

Name Type Description
Arn string The unique identifier of the server certificate (between 20 and 2048 characters), which can be used by EIM policies.
Expiration string The date at which the server certificate expires.
Path string The path to the server certificate.
ServerCertificateId string The ID of the server certificate, generated by EIM.
ServerCertificateName string The name of the server certificate.
UploadDate string The date at which the server certificate has been uploaded.

Schema

{
  "Arn": "string",
  "Expiration": "string",
  "Path": "string",
  "ServerCertificateId": "string",
  "ServerCertificateName": "string",
  "UploadDate": "string"
}

ServerCertificateMetadataList

Information about one or more server certificates.

Properties

Name Type Description
Arn string The unique identifier of the server certificate (between 20 and 2048 characters), which can be used by EIM policies.
Expiration string The date at which the server certificate expires.
Path string The path to the server certificate.
ServerCertificateId string The ID of the server certificate, generated by EIM.
ServerCertificateName string The name of the server certificate.
UploadDate string The date at which the server certificate has been uploaded.

Schema

{
  "Arn": "string",
  "Expiration": "string",
  "Path": "string",
  "ServerCertificateId": "string",
  "ServerCertificateName": "string",
  "UploadDate": "string"
}

SetDefaultPolicyVersionResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateAccessKeyResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateGroupResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateServerCertificateResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UpdateUserResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  }
}

UploadServerCertificateResponse

Properties

Name Type Description
ResponseMetadata ResponseMetadata Information about the response.
ServerCertificateMetadata ServerCertificateMetadata The metadata of the server certificate.

Schema

{
  "ResponseMetadata": {
    "RequestId": "string"
  },
  "ServerCertificateMetadata": {
    "Arn": "string",
    "Expiration": "string",
    "Path": "string",
    "ServerCertificateId": "string",
    "ServerCertificateName": "string",
    "UploadDate": "string"
  }
}

User

Information about the newly created user.

Properties

Name Type Description
Arn string The unique identifier of the user (between 20 and 2048 characters).
CreateDate string The date and time of creation of the user, in ISO 8601 format.
PasswordLastUsed string The date and time when the user's password was last used, in ISO 8601 format.
Path string The path to the user.
UserId string The ID of the user.
UserName string The name of the user.

Schema

{
  "Arn": "string",
  "CreateDate": "string",
  "PasswordLastUsed": "string",
  "Path": "string",
  "UserId": "string",
  "UserName": "string"
}

Users

A list of users.

Properties

Name Type Description
Arn string The unique identifier of the user (between 20 and 2048 characters).
CreateDate string The date and time of creation of the user, in ISO 8601 format.
PasswordLastUsed string The date and time when the user's password was last used, in ISO 8601 format.
Path string The path to the user.
UserId string The ID of the user.
UserName string The name of the user.

Schema

{
  "Arn": "string",
  "CreateDate": "string",
  "PasswordLastUsed": "string",
  "Path": "string",
  "UserId": "string",
  "UserName": "string"
}

Versions

A list of all the versions of the policy.

Properties

Name Type Description
CreateDate string The date of the creation of the version.
Document string The policy document as a json string.
IsDefaultVersion boolean If true, the version is the default one.
VersionId string The ID of the version.

Schema

{
  "CreateDate": "string",
  "Document": "string",
  "IsDefaultVersion": true,
  "VersionId": "string"
}