IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface SessionCredentials

    The established temporary security credentials of the session.

    Directory buckets - These session credentials are only supported for the authentication and authorization of Zonal endpoint API operations on directory buckets.

    interface SessionCredentials {
        AccessKeyId: string | undefined;
        SecretAccessKey: string | undefined;
        SessionToken: string | undefined;
        Expiration: Date | undefined;
    }
    Index

    Properties

    AccessKeyId: string | undefined

    A unique identifier that's associated with a secret access key. The access key ID and the secret access key are used together to sign programmatic Amazon Web Services requests cryptographically.

    SecretAccessKey: string | undefined

    A key that's used with the access key ID to cryptographically sign programmatic Amazon Web Services requests. Signing a request identifies the sender and prevents the request from being altered.

    SessionToken: string | undefined

    A part of the temporary security credentials. The session token is used to validate the temporary security credentials.

    </p>
    
    Expiration: Date | undefined

    Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.