Class ServiceCredentialsSecretSourceServiceRO

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ServiceCredentialsSecretSourceServiceRO
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The properties of the resource key that was created for this source service instance.
    • Method Detail

      • getParameters

        public ServiceCredentialsSourceServiceParameters getParameters()
        Gets the parameters. Configuration options represented as key-value pairs. Service-defined options are used in the generation of credentials for some services. For example, Cloud Object Storage accepts the optional boolean parameter HMAC for creating specific kind of credentials.
        Returns:
        the parameters
      • getRole

        public ServiceCredentialsSourceServiceRole getRole()
        Gets the role. The service-specific custom role. CRN is accepted. The role is assigned as part of an access policy to any auto-generated IAM service ID. If you provide an existing service ID, it is added to the access policy for that ID. If a role is not provided, any new service IDs that are autogenerated, will not have an assigned access policy and provided service IDs are not changed in any way. Refer to the service documentation for supported roles.
        Returns:
        the role
      • getIam

        public ServiceCredentialsSourceServiceIam getIam()
        Gets the iam. The source service IAM data is returned in case IAM credentials where created for this secret.
        Returns:
        the iam
      • getResourceKey

        public ServiceCredentialsResourceKey getResourceKey()
        Gets the resourceKey. The source service resource key data of the generated service credentials.
        Returns:
        the resourceKey