1 - Acquire temporary role credential

1.1 - 1.1

scpcli sts sts assume role
--role_session_name <value>
--role_indicator <value>
[--duration_seconds <value>]

Description

Acquire temporary role credential

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
role_session_name
required
stringRole Session Name-
role_indicator
required
stringIdentifier of the role to assume. [offering:account_id:role_name]dev2:afd580f490394896a6bceabf77683c6bd:role_name
duration_seconds
optional
integerDuration of seconds of the role session-

Responses

NameDescriptionExample
assumed_role_userAssumed Role ID
credentialsTemporary Credentials

1.2 - 1.0

scpcli sts sts assume role
--role_session_name <value>
--role_indicator <value>
[--duration_seconds <value>]

Description

Acquire temporary role credential

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
role_session_name
required
stringRole Session Name-
role_indicator
required
stringIdentifier of the role to assume. [offering:account_id:role_name]dev2:afd580f490394896a6bceabf77683c6bd:role_name
duration_seconds
optional
integerDuration of seconds of the role session-

Responses

NameDescriptionExample
assumed_role_userAssumed Role ID
credentialsTemporary Credentials

2 - Acquire temporary role credential from SAML Assertion

2.1 - 1.1

scpcli sts sts assume role with saml
--saml_assertion <value>
--role_indicator <value>
--principal_indicator <value>
[--duration_seconds <value>]

Description

Acquire temporary role credential from SAML Assertion

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
saml_assertion
required
stringSAML Assertion-
role_indicator
required
stringIdentifier of the role to assume. [offering:account_id:role_name]dev2:afd580f490394896a6bceabf77683c6bd:role_name
principal_indicator
required
stringSAML Provider Indicatordev2:afd580f490394896a6bceabf77683c6bd:principal_name
duration_seconds
optional
integerDuration of seconds of the role session-

Responses

NameDescriptionExample
assumed_role_userAssumed Role ID
audienceRecipient Value
credentialsTemporary Credentials
issuerIssuer Value
subjectName ID Value
subject_typeName ID Format

2.2 - 1.0

scpcli sts sts assume role with saml
--saml_assertion <value>
--role_indicator <value>
--principal_indicator <value>
[--duration_seconds <value>]

Description

Acquire temporary role credential from SAML Assertion

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
saml_assertion
required
stringSAML Assertion-
role_indicator
required
stringIdentifier of the role to assume. [offering:account_id:role_name]dev2:afd580f490394896a6bceabf77683c6bd:role_name
principal_indicator
required
stringSAML Provider Indicatordev2:afd580f490394896a6bceabf77683c6bd:principal_name
duration_seconds
optional
integerDuration of seconds of the role session-

Responses

NameDescriptionExample
assumed_role_userAssumed Role ID
audienceRecipient Value
credentialsTemporary Credentials
issuerIssuer Value
subjectName ID Value
subject_typeName ID Format

3 - Create new Signature based on Session Token

3.1 - 1.1

scpcli sts sts object store authorization
--x_amz_date <value>
--x_amz_content_sha256 <value>
--url <value>
--method <value>
[--region <value>]
[--service <value>]

Description

Create new Signature based on Session Token

State ACTIVE (CURRENT)

VersionNot Before
1.1-

Parameters

NameTypeDescriptionExample
x_amz_date
required
stringAMZ Date-
x_amz_content_sha256
required
stringAMZ Content SHA256-
url
required
stringThe URL of the request-
method
required
stringHTTP Method-
region
optional
stringRegion-
service
optional
stringService-

Responses

NameDescriptionExample
AuthorizationAuthorization Header

3.2 - 1.0

scpcli sts sts object store authorization
--x_amz_date <value>
--x_amz_content_sha256 <value>
--url <value>
--method <value>
[--region <value>]
[--service <value>]

Description

Create new Signature based on Session Token

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260531

Parameters

NameTypeDescriptionExample
x_amz_date
required
stringAMZ Date-
x_amz_content_sha256
required
stringAMZ Content SHA256-
url
required
stringThe URL of the request-
method
required
stringHTTP Method-
region
optional
stringRegion-
service
optional
stringService-

Responses

NameDescriptionExample
AuthorizationAuthorization Header