Class ServiceCredentialsSecretSourceServiceRO
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.ServiceCredentialsSecretSourceServiceRO
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ServiceCredentialsSecretSourceServiceRO extends com.ibm.cloud.sdk.core.service.model.GenericModelThe properties of the resource key that was created for this source service instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceCredentialsSourceServiceIamgetIam()Gets the iam.ServiceCredentialsSourceServiceInstancegetInstance()Gets the instance.ServiceCredentialsSourceServiceParametersgetParameters()Gets the parameters.ServiceCredentialsResourceKeygetResourceKey()Gets the resourceKey.ServiceCredentialsSourceServiceRolegetRole()Gets the role.
-
-
-
Method Detail
-
getInstance
public ServiceCredentialsSourceServiceInstance getInstance()
Gets the instance. The source service instance identifier.- Returns:
- the instance
-
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
-
-