Skip to content

RoleCredentials

Source code in docs_src/capo_sso/types/role_credentials.py
class RoleCredentials(TypedDict, closed=True):
    access_key_id: NotRequired["capo_sso.types.access_key_type.AccessKeyType"]
    """<p>The identifier used for the temporary security credentials. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the <i>AWS IAM User Guide</i>.</p>"""
    secret_access_key: NotRequired[
        "capo_sso.types.secret_access_key_type.SecretAccessKeyType"
    ]
    """<p>The key that is used to sign the request. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the <i>AWS IAM User Guide</i>.</p>"""
    session_token: NotRequired["capo_sso.types.session_token_type.SessionTokenType"]
    """<p>The token used for temporary credentials. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html">Using Temporary Security Credentials to Request Access to AWS Resources</a> in the <i>AWS IAM User Guide</i>.</p>"""
    expiration: "capo_sso.types.expiration_timestamp_type.ExpirationTimestampType"
    """<p>The date on which temporary security credentials expire.</p>"""

access_key_id instance-attribute

access_key_id: NotRequired[AccessKeyType]

The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

expiration instance-attribute

The date on which temporary security credentials expire.

secret_access_key instance-attribute

secret_access_key: NotRequired[SecretAccessKeyType]

The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.

session_token instance-attribute

session_token: NotRequired[SessionTokenType]

The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.