Amazon Bedrock · Schema

GetOauth2CredentialProviderResponse

Artificial IntelligenceAmazon Web ServicesFoundation ModelsGenerative AILLMMachine LearningRAGAgentsResponsible AIModel Serving

Properties

Name Type Description
clientSecretArn object
clientSecretJsonKey string The JSON key used to extract the client secret value from the Amazon Web Services Secrets Manager secret.
clientSecretSource string The source type of the client secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager.
name string The name of the OAuth2 credential provider.
credentialProviderArn string ARN of the credential provider requested.
credentialProviderVendor string The vendor of the OAuth2 credential provider.
callbackUrl string Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow.
oauth2ProviderConfigOutput object
createdTime string The timestamp when the OAuth2 credential provider was created.
lastUpdatedTime string The timestamp when the OAuth2 credential provider was last updated.
status string The current status of the OAuth2 credential provider.
failureReason string The reason for failure if the OAuth2 credential provider is in a failed state.
View JSON Schema on GitHub

JSON Schema

amazon-bedrock-get-oauth2-credential-provider-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-oauth2-credential-provider-response-schema.json",
  "title": "GetOauth2CredentialProviderResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-identities-api-openapi.yml#/components/schemas/GetOauth2CredentialProviderResponse",
  "type": "object",
  "properties": {
    "clientSecretArn": {
      "$ref": "#/$defs/Secret"
    },
    "clientSecretJsonKey": {
      "type": "string",
      "description": "The JSON key used to extract the client secret value from the Amazon Web Services Secrets Manager secret."
    },
    "clientSecretSource": {
      "type": "string",
      "enum": [
        "MANAGED",
        "EXTERNAL"
      ],
      "description": "The source type of the client secret. Either MANAGED if the secret is managed by the service, or EXTERNAL if managed by the user in Amazon Web Services Secrets Manager."
    },
    "name": {
      "type": "string",
      "description": "The name of the OAuth2 credential provider."
    },
    "credentialProviderArn": {
      "type": "string",
      "description": "ARN of the credential provider requested."
    },
    "credentialProviderVendor": {
      "type": "string",
      "enum": [
        "GoogleOauth2",
        "GithubOauth2",
        "SlackOauth2",
        "SalesforceOauth2",
        "MicrosoftOauth2",
        "CustomOauth2",
        "AtlassianOauth2",
        "LinkedinOauth2",
        "XOauth2",
        "OktaOauth2",
        "OneLoginOauth2",
        "PingOneOauth2",
        "FacebookOauth2",
        "YandexOauth2",
        "RedditOauth2",
        "ZoomOauth2",
        "TwitchOauth2",
        "SpotifyOauth2",
        "DropboxOauth2",
        "NotionOauth2",
        "HubspotOauth2",
        "CyberArkOauth2",
        "FusionAuthOauth2",
        "Auth0Oauth2",
        "CognitoOauth2"
      ],
      "description": "The vendor of the OAuth2 credential provider."
    },
    "callbackUrl": {
      "type": "string",
      "description": "Callback URL to register on the OAuth2 credential provider as an allowed callback URL. This URL is where the OAuth2 authorization server redirects users after they complete the authorization flow."
    },
    "oauth2ProviderConfigOutput": {
      "$ref": "#/$defs/Oauth2ProviderConfigOutput"
    },
    "createdTime": {
      "type": "string",
      "description": "The timestamp when the OAuth2 credential provider was created."
    },
    "lastUpdatedTime": {
      "type": "string",
      "description": "The timestamp when the OAuth2 credential provider was last updated."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "CREATE_FAILED",
        "UPDATING",
        "UPDATE_FAILED",
        "READY",
        "DELETING",
        "DELETE_FAILED"
      ],
      "description": "The current status of the OAuth2 credential provider."
    },
    "failureReason": {
      "type": "string",
      "description": "The reason for failure if the OAuth2 credential provider is in a failed state."
    }
  },
  "required": [
    "clientSecretArn",
    "name",
    "credentialProviderArn",
    "credentialProviderVendor",
    "oauth2ProviderConfigOutput",
    "createdTime",
    "lastUpdatedTime"
  ],
  "$defs": {
    "AtlassianOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the Atlassian OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "CustomOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the custom OAuth2 provider."
        },
        "onBehalfOfTokenExchangeConfig": {
          "$ref": "#/$defs/OnBehalfOfTokenExchangeConfigType"
        },
        "clientAuthenticationMethod": {
          "type": "string",
          "enum": [
            "CLIENT_SECRET_BASIC",
            "CLIENT_SECRET_POST",
            "AWS_IAM_ID_TOKEN_JWT",
            "PRIVATE_KEY_JWT"
          ],
          "description": "The client authentication method used when authenticating with the token endpoint."
        },
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint"
        },
        "privateEndpointOverrides": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PrivateEndpointOverride"
          },
          "description": "The private endpoint overrides for the custom OAuth2 provider configuration."
        },
        "privateKeyJwtConfig": {
          "$ref": "#/$defs/PrivateKeyJwtConfig"
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "GithubOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the GitHub OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "GoogleOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the Google OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "IncludedOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the supported OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "KmsKeySourceType": {
      "type": "object",
      "properties": {
        "kmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key used to sign the JWT client assertion. The key must be an asymmetric key with key usage SIGN_VERIFY and a key spec compatible with the configured signing algorithm."
        }
      },
      "required": [
        "kmsKeyArn"
      ]
    },
    "LinkedinOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the LinkedIn OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "ManagedVpcResource": {
      "type": "object",
      "properties": {
        "vpcIdentifier": {
          "type": "string",
          "description": "The ID of the VPC that contains your private resource."
        },
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The subnet IDs within the VPC where the VPC Lattice resource gateway is placed."
        },
        "endpointIpAddressType": {
          "type": "string",
          "enum": [
            "IPV4",
            "IPV6"
          ],
          "description": "The IP address type for the resource configuration endpoint."
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Tags to apply to the managed VPC Lattice resource gateway."
        },
        "routingDomain": {
          "type": "string",
          "description": "An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain]."
        }
      },
      "required": [
        "vpcIdentifier",
        "subnetIds",
        "endpointIpAddressType"
      ]
    },
    "MicrosoftOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the Microsoft OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "Oauth2AuthorizationServerMetadata": {
      "type": "object",
      "properties": {
        "issuer": {
          "type": "string",
          "description": "The issuer URL for the OAuth2 authorization server."
        },
        "authorizationEndpoint": {
          "type": "string",
          "description": "The authorization endpoint URL for the OAuth2 authorization server."
        },
        "tokenEndpoint": {
          "type": "string",
          "description": "The token endpoint URL for the OAuth2 authorization server."
        },
        "responseTypes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The supported response types for the OAuth2 authorization server."
        },
        "tokenEndpointAuthMethods": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The authentication methods supported by the token endpoint. This specifies how clients can authenticate when requesting tokens from the authorization server."
        }
      },
      "required": [
        "issuer",
        "authorizationEndpoint",
        "tokenEndpoint"
      ]
    },
    "Oauth2Discovery": {
      "type": "object",
      "properties": {
        "discoveryUrl": {
          "type": "string",
          "description": "The discovery URL for the OAuth2 provider."
        },
        "authorizationServerMetadata": {
          "$ref": "#/$defs/Oauth2AuthorizationServerMetadata"
        }
      },
      "description": "Exactly one member is set."
    },
    "Oauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "customOauth2ProviderConfig": {
          "$ref": "#/$defs/CustomOauth2ProviderConfigOutput"
        },
        "googleOauth2ProviderConfig": {
          "$ref": "#/$defs/GoogleOauth2ProviderConfigOutput"
        },
        "githubOauth2ProviderConfig": {
          "$ref": "#/$defs/GithubOauth2ProviderConfigOutput"
        },
        "slackOauth2ProviderConfig": {
          "$ref": "#/$defs/SlackOauth2ProviderConfigOutput"
        },
        "salesforceOauth2ProviderConfig": {
          "$ref": "#/$defs/SalesforceOauth2ProviderConfigOutput"
        },
        "microsoftOauth2ProviderConfig": {
          "$ref": "#/$defs/MicrosoftOauth2ProviderConfigOutput"
        },
        "atlassianOauth2ProviderConfig": {
          "$ref": "#/$defs/AtlassianOauth2ProviderConfigOutput"
        },
        "linkedinOauth2ProviderConfig": {
          "$ref": "#/$defs/LinkedinOauth2ProviderConfigOutput"
        },
        "includedOauth2ProviderConfig": {
          "$ref": "#/$defs/IncludedOauth2ProviderConfigOutput"
        }
      },
      "description": "Exactly one member is set."
    },
    "OnBehalfOfAuthenticationConfig": {
      "type": "object",
      "properties": {
        "clientAuthenticationMethod": {
          "type": "string",
          "enum": [
            "NO_CLIENT"
          ],
          "description": "The client authentication method to use during the on-behalf-of token exchange. The NO_CLIENT option omits the clientId and clientSecret during the on-behalf-of token exchange with the identity provider."
        }
      },
      "required": [
        "clientAuthenticationMethod"
      ]
    },
    "OnBehalfOfTokenExchangeConfigType": {
      "type": "object",
      "properties": {
        "grantType": {
          "type": "string",
          "enum": [
            "TOKEN_EXCHANGE",
            "JWT_AUTHORIZATION_GRANT"
          ],
          "description": "The grant type for the on-behalf-of token exchange."
        },
        "tokenExchangeGrantTypeConfig": {
          "$ref": "#/$defs/TokenExchangeGrantTypeConfigType"
        },
        "onBehalfOfAuthenticationConfig": {
          "$ref": "#/$defs/OnBehalfOfAuthenticationConfig"
        }
      },
      "required": [
        "grantType"
      ]
    },
    "PrivateEndpoint": {
      "type": "object",
      "properties": {
        "selfManagedLatticeResource": {
          "$ref": "#/$defs/SelfManagedLatticeResource"
        },
        "managedVpcResource": {
          "$ref": "#/$defs/ManagedVpcResource"
        }
      },
      "description": "Exactly one member is set."
    },
    "PrivateEndpointOverride": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "The domain to override with a private endpoint."
        },
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint"
        }
      },
      "required": [
        "domain",
        "privateEndpoint"
      ]
    },
    "PrivateKeyJwtConfig": {
      "type": "object",
      "properties": {
        "privateKeySource": {
          "$ref": "#/$defs/PrivateKeySource"
        },
        "signingAlgorithm": {
          "type": "string",
          "enum": [
            "RS256",
            "PS256",
            "ES256"
          ],
          "description": "The algorithm used to sign the JWT client assertion. Valid values are RS256, PS256, and ES256."
        },
        "additionalHeaderClaims": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A map of additional claims to include in the JWT client assertion header. Standard header claims such as alg and typ cannot be added."
        },
        "additionalPayloadClaims": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A map of additional claims to include in the JWT client assertion payload. Payload claims generated by the service, such as iss, sub, jti, and exp, cannot be added."
        }
      }
    },
    "PrivateKeySource": {
      "type": "object",
      "properties": {
        "kmsKeySource": {
          "$ref": "#/$defs/KmsKeySourceType"
        }
      },
      "description": "Exactly one member is set."
    },
    "SalesforceOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the Salesforce OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "Secret": {
      "type": "object",
      "properties": {
        "secretArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the secret in Amazon Web Services Secrets Manager."
        }
      },
      "required": [
        "secretArn"
      ]
    },
    "SelfManagedLatticeResource": {
      "type": "object",
      "properties": {
        "resourceConfigurationIdentifier": {
          "type": "string",
          "description": "The ARN or ID of the VPC Lattice resource configuration."
        }
      },
      "description": "Exactly one member is set."
    },
    "SlackOauth2ProviderConfigOutput": {
      "type": "object",
      "properties": {
        "oauthDiscovery": {
          "$ref": "#/$defs/Oauth2Discovery"
        },
        "clientId": {
          "type": "string",
          "description": "The client ID for the Slack OAuth2 provider."
        }
      },
      "required": [
        "oauthDiscovery"
      ]
    },
    "TokenExchangeGrantTypeConfigType": {
      "type": "object",
      "properties": {
        "actorTokenContent": {
          "type": "string",
          "enum": [
            "NONE",
            "M2M",
            "AWS_IAM_ID_TOKEN_JWT"
          ],
          "description": "The content type for the actor token in the token exchange."
        },
        "actorTokenScopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The scopes for the actor token. Only valid when actorTokenContent is M2M."
        }
      },
      "required": [
        "actorTokenContent"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-bedrock-get-oauth2-credential-provider-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.