Skip to content

List Service Specific Credentials

iam_list_service_specific_credentials R Documentation

Returns information about the service-specific credentials associated with the specified IAM user

Description

Returns information about the service-specific credentials associated with the specified IAM user. If none exists, the operation returns an empty list. The service-specific credentials returned by this operation are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an Amazon Web Services service, see Set up service-specific credentials in the CodeCommit User Guide.

Usage

iam_list_service_specific_credentials(UserName, ServiceName)

Arguments

UserName

The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

ServiceName

Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.

Value

A list with the following syntax:

list(
  ServiceSpecificCredentials = list(
    list(
      UserName = "string",
      Status = "Active"|"Inactive",
      ServiceUserName = "string",
      CreateDate = as.POSIXct(
        "2015-01-01"
      ),
      ServiceSpecificCredentialId = "string",
      ServiceName = "string"
    )
  )
)

Request syntax

svc$list_service_specific_credentials(
  UserName = "string",
  ServiceName = "string"
)