Class ServiceCredentialsSecretSourceService

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

    public class ServiceCredentialsSecretSourceService
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The properties that are required to create the service credentials for the specified source service instance.
    • Method Detail

      • parameters

        public ServiceCredentialsSourceServiceParameters parameters()
        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
      • role

        public ServiceCredentialsSourceServiceRole role()
        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