asSecretsManager
Casts this CertificateLocation as a SecretsManager and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.SecretsManagerLocation value. Throws an exception if the CertificateLocation is not a SecretsManager.