Skip to main content

OAuth [config.openshift.io/v1]

Description
OAuth holds cluster-wide information about OAuth. The canonical name is cluster. It is used to configure the integrated OAuth server. This configuration is only honored when the top level Authentication config has type set to IntegratedOAuth. Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
Type
`object`
Required
  • spec

Specification​

PropertyTypeDescription
apiVersionstringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kindstringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
specobjectspec holds user settable values for configuration
statusobjectstatus holds observed values from the cluster. They may not be overridden.

.spec​

Description
spec holds user settable values for configuration
Type
`object`
PropertyTypeDescription
identityProvidersarrayidentityProviders is an ordered list of ways for a user to identify themselves. When this list is empty, no identities are provisioned for users.
identityProviders[]objectIdentityProvider provides identities for users authenticating using credentials
templatesobjecttemplates allow you to customize pages like the login page.
tokenConfigobjecttokenConfig contains options for authorization and access tokens

.spec.identityProviders​

Description
identityProviders is an ordered list of ways for a user to identify themselves. When this list is empty, no identities are provisioned for users.
Type
`array`

.spec.identityProviders[]​

Description
IdentityProvider provides identities for users authenticating using credentials
Type
`object`
PropertyTypeDescription
basicAuthobjectbasicAuth contains configuration options for the BasicAuth IdP
githubobjectgithub enables user authentication using GitHub credentials
gitlabobjectgitlab enables user authentication using GitLab credentials
googleobjectgoogle enables user authentication using Google credentials
htpasswdobjecthtpasswd enables user authentication using an HTPasswd file to validate credentials
keystoneobjectkeystone enables user authentication using keystone password credentials
ldapobjectldap enables user authentication using LDAP credentials
mappingMethodstringmappingMethod determines how identities from this provider are mapped to users Defaults to "claim"
namestringname is used to qualify the identities returned by this provider. - It MUST be unique and not shared by any other identity provider used - It MUST be a valid path segment: name cannot equal "." or ".." or contain "/" or "%" or ":" Ref: https://godoc.org/github.com/openshift/origin/pkg/user/apis/user/validation#ValidateIdentityProviderName
openIDobjectopenID enables user authentication using OpenID credentials
requestHeaderobjectrequestHeader enables user authentication using request header credentials
typestringtype identifies the identity provider type for this entry.

.spec.identityProviders[].basicAuth​

Description
basicAuth contains configuration options for the BasicAuth IdP
Type
`object`
PropertyTypeDescription
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
tlsClientCertobjecttlsClientCert is an optional reference to a secret by name that contains the PEM-encoded TLS client certificate to present when connecting to the server. The key "tls.crt" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
tlsClientKeyobjecttlsClientKey is an optional reference to a secret by name that contains the PEM-encoded TLS private key for the client certificate referenced in tlsClientCert. The key "tls.key" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
urlstringurl is the remote URL to connect to

.spec.identityProviders[].basicAuth.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].basicAuth.tlsClientCert​

Description
tlsClientCert is an optional reference to a secret by name that contains the PEM-encoded TLS client certificate to present when connecting to the server. The key "tls.crt" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].basicAuth.tlsClientKey​

Description
tlsClientKey is an optional reference to a secret by name that contains the PEM-encoded TLS private key for the client certificate referenced in tlsClientCert. The key "tls.key" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].github​

Description
github enables user authentication using GitHub credentials
Type
`object`
PropertyTypeDescription
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. This can only be configured when hostname is set to a non-empty value. The namespace for this config map is openshift-config.
clientIDstringclientID is the oauth client ID
clientSecretobjectclientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
hostnamestringhostname is the optional domain (e.g. "mycompany.com") for use with a hosted instance of GitHub Enterprise. It must match the GitHub Enterprise settings value configured at /setup/settings#hostname.
organizationsarray (string)organizations optionally restricts which organizations are allowed to log in
teamsarray (string)teams optionally restricts which teams are allowed to log in. Format is /.

.spec.identityProviders[].github.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. This can only be configured when hostname is set to a non-empty value. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].github.clientSecret​

Description
clientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].gitlab​

Description
gitlab enables user authentication using GitLab credentials
Type
`object`
PropertyTypeDescription
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
clientIDstringclientID is the oauth client ID
clientSecretobjectclientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
urlstringurl is the oauth server base URL

.spec.identityProviders[].gitlab.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].gitlab.clientSecret​

Description
clientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].google​

Description
google enables user authentication using Google credentials
Type
`object`
PropertyTypeDescription
clientIDstringclientID is the oauth client ID
clientSecretobjectclientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
hostedDomainstringhostedDomain is the optional Google App domain (e.g. "mycompany.com") to restrict logins to

.spec.identityProviders[].google.clientSecret​

Description
clientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].htpasswd​

Description
htpasswd enables user authentication using an HTPasswd file to validate credentials
Type
`object`
PropertyTypeDescription
fileDataobjectfileData is a required reference to a secret by name containing the data to use as the htpasswd file. The key "htpasswd" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. If the specified htpasswd data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.

.spec.identityProviders[].htpasswd.fileData​

Description
fileData is a required reference to a secret by name containing the data to use as the htpasswd file. The key "htpasswd" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. If the specified htpasswd data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].keystone​

Description
keystone enables user authentication using keystone password credentials
Type
`object`
PropertyTypeDescription
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
domainNamestringdomainName is required for keystone v3
tlsClientCertobjecttlsClientCert is an optional reference to a secret by name that contains the PEM-encoded TLS client certificate to present when connecting to the server. The key "tls.crt" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
tlsClientKeyobjecttlsClientKey is an optional reference to a secret by name that contains the PEM-encoded TLS private key for the client certificate referenced in tlsClientCert. The key "tls.key" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
urlstringurl is the remote URL to connect to

.spec.identityProviders[].keystone.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].keystone.tlsClientCert​

Description
tlsClientCert is an optional reference to a secret by name that contains the PEM-encoded TLS client certificate to present when connecting to the server. The key "tls.crt" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].keystone.tlsClientKey​

Description
tlsClientKey is an optional reference to a secret by name that contains the PEM-encoded TLS private key for the client certificate referenced in tlsClientCert. The key "tls.key" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. If the specified certificate data is not valid, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].ldap​

Description
ldap enables user authentication using LDAP credentials
Type
`object`
PropertyTypeDescription
attributesobjectattributes maps LDAP attributes to identities
bindDNstringbindDN is an optional DN to bind with during the search phase.
bindPasswordobjectbindPassword is an optional reference to a secret by name containing a password to bind with during the search phase. The key "bindPassword" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
insecurebooleaninsecure, if true, indicates the connection should not use TLS WARNING: Should not be set to true with the URL scheme "ldaps://" as "ldaps://" URLs always attempt to connect using TLS, even when insecure is set to true When true, "ldap://" URLS connect insecurely. When false, "ldap://" URLs are upgraded to a TLS connection using StartTLS as specified in https://tools.ietf.org/html/rfc2830.
urlstringurl is an RFC 2255 URL which specifies the LDAP search parameters to use. The syntax of the URL is: ldap://host:port/basedn?attribute?scope?filter

.spec.identityProviders[].ldap.attributes​

Description
attributes maps LDAP attributes to identities
Type
`object`
PropertyTypeDescription
emailarray (string)email is the list of attributes whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
idarray (string)id is the list of attributes whose values should be used as the user ID. Required. First non-empty attribute is used. At least one attribute is required. If none of the listed attribute have a value, authentication fails. LDAP standard identity attribute is "dn"
namearray (string)name is the list of attributes whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity LDAP standard display name attribute is "cn"
preferredUsernamearray (string)preferredUsername is the list of attributes whose values should be used as the preferred username. LDAP standard login attribute is "uid"

.spec.identityProviders[].ldap.bindPassword​

Description
bindPassword is an optional reference to a secret by name containing a password to bind with during the search phase. The key "bindPassword" is used to locate the data. If specified and the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].ldap.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].openID​

Description
openID enables user authentication using OpenID credentials
Type
`object`
PropertyTypeDescription
caobjectca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
claimsobjectclaims mappings
clientIDstringclientID is the oauth client ID
clientSecretobjectclientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
extraAuthorizeParametersobject (string)extraAuthorizeParameters are any custom parameters to add to the authorize request.
extraScopesarray (string)extraScopes are any scopes to request in addition to the standard "openid" scope.
issuerstringissuer is the URL that the OpenID Provider asserts as its Issuer Identifier. It must use the https scheme with no query or fragment component.

.spec.identityProviders[].openID.ca​

Description
ca is an optional reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. The key "ca.crt" is used to locate the data. If specified and the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. If empty, the default system roots are used. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.identityProviders[].openID.claims​

Description
claims mappings
Type
`object`
PropertyTypeDescription
emailarray (string)email is the list of claims whose values should be used as the email address. Optional. If unspecified, no email is set for the identity
groupsarray (string)groups is the list of claims value of which should be used to synchronize groups from the OIDC provider to OpenShift for the user. If multiple claims are specified, the first one with a non-empty value is used.
namearray (string)name is the list of claims whose values should be used as the display name. Optional. If unspecified, no display name is set for the identity
preferredUsernamearray (string)preferredUsername is the list of claims whose values should be used as the preferred username. If unspecified, the preferred username is determined from the value of the sub claim

.spec.identityProviders[].openID.clientSecret​

Description
clientSecret is a required reference to the secret by name containing the oauth client secret. The key "clientSecret" is used to locate the data. If the secret or expected key is not found, the identity provider is not honored. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.identityProviders[].requestHeader​

Description
requestHeader enables user authentication using request header credentials
Type
`object`
PropertyTypeDescription
caobjectca is a required reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. Specifically, it allows verification of incoming requests to prevent header spoofing. The key "ca.crt" is used to locate the data. If the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. The namespace for this config map is openshift-config.
challengeURLstringchallengeURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here. urlisreplacedwiththecurrentURL,escapedtobesafeinaqueryparameterhttps://www.example.com/sso−login?then={url} is replaced with the current URL, escaped to be safe in a query parameter https://www.example.com/sso-login?then={url} queryisreplacedwiththecurrentquerystringhttps://www.example.com/auth−proxy/oauth/authorize?{query} is replaced with the current query string https://www.example.com/auth-proxy/oauth/authorize?{query} Required when challenge is set to true.
clientCommonNamesarray (string)clientCommonNames is an optional list of common names to require a match from. If empty, any client certificate validated against the clientCA bundle is considered authoritative.
emailHeadersarray (string)emailHeaders is the set of headers to check for the email address
headersarray (string)headers is the set of headers to check for identity information
loginURLstringloginURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here urlisreplacedwiththecurrentURL,escapedtobesafeinaqueryparameterhttps://www.example.com/sso−login?then={url} is replaced with the current URL, escaped to be safe in a query parameter https://www.example.com/sso-login?then={url} queryisreplacedwiththecurrentquerystringhttps://www.example.com/auth−proxy/oauth/authorize?{query} is replaced with the current query string https://www.example.com/auth-proxy/oauth/authorize?{query} Required when login is set to true.
nameHeadersarray (string)nameHeaders is the set of headers to check for the display name
preferredUsernameHeadersarray (string)preferredUsernameHeaders is the set of headers to check for the preferred username

.spec.identityProviders[].requestHeader.ca​

Description
ca is a required reference to a config map by name containing the PEM-encoded CA bundle. It is used as a trust anchor to validate the TLS certificate presented by the remote server. Specifically, it allows verification of incoming requests to prevent header spoofing. The key "ca.crt" is used to locate the data. If the config map or expected key is not found, the identity provider is not honored. If the specified ca data is not valid, the identity provider is not honored. The namespace for this config map is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced config map

.spec.templates​

Description
templates allow you to customize pages like the login page.
Type
`object`
PropertyTypeDescription
errorobjecterror is the name of a secret that specifies a go template to use to render error pages during the authentication or grant flow. The key "errors.html" is used to locate the template data. If specified and the secret or expected key is not found, the default error page is used. If the specified template is not valid, the default error page is used. If unspecified, the default error page is used. The namespace for this secret is openshift-config.
loginobjectlogin is the name of a secret that specifies a go template to use to render the login page. The key "login.html" is used to locate the template data. If specified and the secret or expected key is not found, the default login page is used. If the specified template is not valid, the default login page is used. If unspecified, the default login page is used. The namespace for this secret is openshift-config.
providerSelectionobjectproviderSelection is the name of a secret that specifies a go template to use to render the provider selection page. The key "providers.html" is used to locate the template data. If specified and the secret or expected key is not found, the default provider selection page is used. If the specified template is not valid, the default provider selection page is used. If unspecified, the default provider selection page is used. The namespace for this secret is openshift-config.

.spec.templates.error​

Description
error is the name of a secret that specifies a go template to use to render error pages during the authentication or grant flow. The key "errors.html" is used to locate the template data. If specified and the secret or expected key is not found, the default error page is used. If the specified template is not valid, the default error page is used. If unspecified, the default error page is used. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.templates.login​

Description
login is the name of a secret that specifies a go template to use to render the login page. The key "login.html" is used to locate the template data. If specified and the secret or expected key is not found, the default login page is used. If the specified template is not valid, the default login page is used. If unspecified, the default login page is used. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.templates.providerSelection​

Description
providerSelection is the name of a secret that specifies a go template to use to render the provider selection page. The key "providers.html" is used to locate the template data. If specified and the secret or expected key is not found, the default provider selection page is used. If the specified template is not valid, the default provider selection page is used. If unspecified, the default provider selection page is used. The namespace for this secret is openshift-config.
Type
`object`
Required
  • name
PropertyTypeDescription
namestringname is the metadata.name of the referenced secret

.spec.tokenConfig​

Description
tokenConfig contains options for authorization and access tokens
Type
`object`
PropertyTypeDescription
accessTokenInactivityTimeoutstringaccessTokenInactivityTimeout defines the token inactivity timeout for tokens granted by any client. The value represents the maximum amount of time that can occur between consecutive uses of the token. Tokens become invalid if they are not used within this temporal window. The user will need to acquire a new token to regain access once a token times out. Takes valid time duration string such as "5m", "1.5h" or "2h45m". The minimum allowed value for duration is 300s (5 minutes). If the timeout is configured per client, then that value takes precedence. If the timeout value is not specified and the client does not override the value, then tokens are valid until their lifetime.
WARNING: existing tokens' timeout will not be affected (lowered) by changing this value
accessTokenInactivityTimeoutSecondsintegeraccessTokenInactivityTimeoutSeconds - DEPRECATED: setting this field has no effect.
accessTokenMaxAgeSecondsintegeraccessTokenMaxAgeSeconds defines the maximum age of access tokens

.status​

Description
status holds observed values from the cluster. They may not be overridden.
Type
`object`

API endpoints​

The following API endpoints are available:

  • /apis/config.openshift.io/v1/oauths
    • DELETE: delete collection of OAuth
    • GET: list objects of kind OAuth
    • POST: create an OAuth
  • /apis/config.openshift.io/v1/oauths/{name}
    • DELETE: delete an OAuth
    • GET: read the specified OAuth
    • PATCH: partially update the specified OAuth
    • PUT: replace the specified OAuth
  • /apis/config.openshift.io/v1/oauths/{name}/status
    • GET: read status of the specified OAuth
    • PATCH: partially update status of the specified OAuth
    • PUT: replace status of the specified OAuth

/apis/config.openshift.io/v1/oauths​

HTTP method
`DELETE`
Description
delete collection of OAuth

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
list objects of kind OAuth

HTTP responses

HTTP codeReponse body
200 - OKOAuthList schema
401 - UnauthorizedEmpty
HTTP method
`POST`
Description
create an OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyOAuth schema

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
201 - CreatedOAuth schema
202 - AcceptedOAuth schema
401 - UnauthorizedEmpty

/apis/config.openshift.io/v1/oauths/{name}​

Global path parameters

ParameterTypeDescription
namestringname of the OAuth
HTTP method
`DELETE`
Description
delete an OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
read the specified OAuth

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update the specified OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace the specified OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyOAuth schema

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
201 - CreatedOAuth schema
401 - UnauthorizedEmpty

/apis/config.openshift.io/v1/oauths/{name}/status​

Global path parameters

ParameterTypeDescription
namestringname of the OAuth
HTTP method
`GET`
Description
read status of the specified OAuth

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update status of the specified OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace status of the specified OAuth

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyOAuth schema

HTTP responses

HTTP codeReponse body
200 - OKOAuth schema
201 - CreatedOAuth schema
401 - UnauthorizedEmpty