Interface SecretReference.Builder

  • Method Details

    • secretId

      SecretReference.Builder secretId(String secretId)

      Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.

      Parameters:
      secretId - Name or Amazon Resource Name of a secret in AWS Secrets Manager that you own. The secret must be in the same Region as the resource that references it, and its resource policy must allow this service to read it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jsonKey

      SecretReference.Builder jsonKey(String jsonKey)

      Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.

      Parameters:
      jsonKey - Key to read from the secret's JSON payload. The secret value must be a JSON object, and this key must be present in it; the value stored under the key is used as the credential.
      Returns:
      Returns a reference to this object so that method calls can be chained together.