Class AgentcoreOauth2CredentialProviderOauth2ProviderConfigLinkedinOauth2ProviderConfig


  • public final class AgentcoreOauth2CredentialProviderOauth2ProviderConfigLinkedinOauth2ProviderConfig
    extends java.lang.Object
    • Method Detail

      • clientCredentialsWoVersion

        public java.util.Optional<java.lang.Integer> clientCredentialsWoVersion()
        Returns:
        Version used together with the write-only credentials. Required when `clientIdWo` and `clientSecretWo` are set. Changing this value triggers an update to `clientIdWo` and `clientSecretWo`.
      • clientId

        public java.util.Optional<java.lang.String> clientId()
        Returns:
        OAuth2 client ID. Conflicts with `clientIdWo`. Must be used together with `clientSecret` unless `clientSecretSource` is `EXTERNAL`.
      • clientIdWo

        public java.util.Optional<java.lang.String> clientIdWo()
        Returns:
        **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only OAuth2 client ID. Conflicts with `clientId`. If set, requires `clientSecretWo` and `clientCredentialsWoVersion` to be set.
      • clientSecret

        public java.util.Optional<java.lang.String> clientSecret()
        Returns:
        OAuth2 client secret. Conflicts with `clientSecretWo`. Must be used together with `clientId`.
      • clientSecretSource

        public java.util.Optional<java.lang.String> clientSecretSource()
        Returns:
        Source type of the client secret. Valid values: `MANAGED` (the service manages the secret) or `EXTERNAL` (you manage the secret in AWS Secrets Manager). Use `EXTERNAL` together with `clientSecretConfig`.
      • clientSecretWo

        public java.util.Optional<java.lang.String> clientSecretWo()
        Returns:
        **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only OAuth2 client secret. Conflicts with `clientSecret`. If set, requires `clientIdWo` and `clientCredentialsWoVersion` to be set.