Skip to content

/AWS1/CL_IAMSERVICESPFCRED

Contains the details of a service-specific credential.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_createdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.

iv_servicename TYPE /AWS1/IAMSERVICENAME /AWS1/IAMSERVICENAME

The name of the service associated with the service-specific credential.

iv_servicespecificcredid TYPE /AWS1/IAMSERVICESPECIFICCREDID /AWS1/IAMSERVICESPECIFICCREDID

The unique identifier for the service-specific credential.

iv_username TYPE /AWS1/IAMUSERNAMETYPE /AWS1/IAMUSERNAMETYPE

The name of the IAM user associated with the service-specific credential.

iv_status TYPE /AWS1/IAMSTATUSTYPE /AWS1/IAMSTATUSTYPE

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.

Optional arguments:

iv_expirationdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE

The date and time when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.

iv_serviceusername TYPE /AWS1/IAMSERVICEUSERNAME /AWS1/IAMSERVICEUSERNAME

The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.

iv_servicepassword TYPE /AWS1/IAMSERVICEPASSWORD /AWS1/IAMSERVICEPASSWORD

The generated password for the service-specific credential.

iv_servicecredentialalias TYPE /AWS1/IAMSERVICECREDALIAS /AWS1/IAMSERVICECREDALIAS

For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.

iv_servicecredentialsecret TYPE /AWS1/IAMSERVICECREDSECRET /AWS1/IAMSERVICECREDSECRET

For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.


Queryable Attributes

CreateDate

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.

Accessible with the following methods

Method Description
GET_CREATEDATE() Getter for CREATEDATE, with configurable default
ASK_CREATEDATE() Getter for CREATEDATE w/ exceptions if field has no value
HAS_CREATEDATE() Determine if CREATEDATE has a value

ExpirationDate

The date and time when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period.

Accessible with the following methods

Method Description
GET_EXPIRATIONDATE() Getter for EXPIRATIONDATE, with configurable default
ASK_EXPIRATIONDATE() Getter for EXPIRATIONDATE w/ exceptions if field has no valu
HAS_EXPIRATIONDATE() Determine if EXPIRATIONDATE has a value

ServiceName

The name of the service associated with the service-specific credential.

Accessible with the following methods

Method Description
GET_SERVICENAME() Getter for SERVICENAME, with configurable default
ASK_SERVICENAME() Getter for SERVICENAME w/ exceptions if field has no value
HAS_SERVICENAME() Determine if SERVICENAME has a value

ServiceUserName

The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.

Accessible with the following methods

Method Description
GET_SERVICEUSERNAME() Getter for SERVICEUSERNAME, with configurable default
ASK_SERVICEUSERNAME() Getter for SERVICEUSERNAME w/ exceptions if field has no val
HAS_SERVICEUSERNAME() Determine if SERVICEUSERNAME has a value

ServicePassword

The generated password for the service-specific credential.

Accessible with the following methods

Method Description
GET_SERVICEPASSWORD() Getter for SERVICEPASSWORD, with configurable default
ASK_SERVICEPASSWORD() Getter for SERVICEPASSWORD w/ exceptions if field has no val
HAS_SERVICEPASSWORD() Determine if SERVICEPASSWORD has a value

ServiceCredentialAlias

For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.

Accessible with the following methods

Method Description
GET_SERVICECREDENTIALALIAS() Getter for SERVICECREDENTIALALIAS, with configurable default
ASK_SERVICECREDENTIALALIAS() Getter for SERVICECREDENTIALALIAS w/ exceptions if field has
HAS_SERVICECREDENTIALALIAS() Determine if SERVICECREDENTIALALIAS has a value

ServiceCredentialSecret

For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.

Accessible with the following methods

Method Description
GET_SERVICECREDENTIALSECRET() Getter for SERVICECREDENTIALSECRET, with configurable defaul
ASK_SERVICECREDENTIALSECRET() Getter for SERVICECREDENTIALSECRET w/ exceptions if field ha
HAS_SERVICECREDENTIALSECRET() Determine if SERVICECREDENTIALSECRET has a value

ServiceSpecificCredentialId

The unique identifier for the service-specific credential.

Accessible with the following methods

Method Description
GET_SERVICESPECIFICCREDID() Getter for SERVICESPECIFICCREDENTIALID, with configurable de
ASK_SERVICESPECIFICCREDID() Getter for SERVICESPECIFICCREDENTIALID w/ exceptions if fiel
HAS_SERVICESPECIFICCREDID() Determine if SERVICESPECIFICCREDENTIALID has a value

UserName

The name of the IAM user associated with the service-specific credential.

Accessible with the following methods

Method Description
GET_USERNAME() Getter for USERNAME, with configurable default
ASK_USERNAME() Getter for USERNAME w/ exceptions if field has no value
HAS_USERNAME() Determine if USERNAME has a value

Status

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value