pub struct KubernetesCreateClusterResponseKubernetesClusterSso {
pub client_id: Option<String>,
pub enabled: bool,
pub issuer_url: Option<String>,
pub required: bool,
}Expand description
An object specifying Single Sign-On (SSO) configuration for the Kubernetes cluster.
JSON schema
{
"description": "An object specifying Single Sign-On (SSO) configuration for the Kubernetes cluster.",
"type": "object",
"properties": {
"client_id": {
"description": "The OIDC client ID registered with the identity provider. Required when\n`enabled` is `true`.\n",
"examples": [
"doks-cluster-client"
],
"type": "string"
},
"enabled": {
"description": "Indicates whether SSO authentication is enabled for the cluster.",
"default": false,
"examples": [
true
],
"type": "boolean"
},
"issuer_url": {
"description": "The OIDC issuer URL for the identity provider. Required when `enabled` is\n`true`.\n",
"examples": [
"https://sso.example.com"
],
"type": "string",
"format": "uri"
},
"required": {
"description": "Indicates whether any non-SSO forms of authentication are disallowed.\nCan only be set to `true` when `enabled` is\n`true`.\n",
"default": false,
"examples": [
false
],
"type": "boolean"
}
}
}Fields§
§client_id: Option<String>The OIDC client ID registered with the identity provider. Required when
enabled is true.
enabled: boolIndicates whether SSO authentication is enabled for the cluster.
issuer_url: Option<String>The OIDC issuer URL for the identity provider. Required when enabled is
true.
required: boolIndicates whether any non-SSO forms of authentication are disallowed.
Can only be set to true when enabled is
true.
Trait Implementations§
Source§impl Clone for KubernetesCreateClusterResponseKubernetesClusterSso
impl Clone for KubernetesCreateClusterResponseKubernetesClusterSso
Source§fn clone(&self) -> KubernetesCreateClusterResponseKubernetesClusterSso
fn clone(&self) -> KubernetesCreateClusterResponseKubernetesClusterSso
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for KubernetesCreateClusterResponseKubernetesClusterSso
impl<'de> Deserialize<'de> for KubernetesCreateClusterResponseKubernetesClusterSso
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&KubernetesCreateClusterResponseKubernetesClusterSso> for KubernetesCreateClusterResponseKubernetesClusterSso
impl From<&KubernetesCreateClusterResponseKubernetesClusterSso> for KubernetesCreateClusterResponseKubernetesClusterSso
Source§fn from(value: &KubernetesCreateClusterResponseKubernetesClusterSso) -> Self
fn from(value: &KubernetesCreateClusterResponseKubernetesClusterSso) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KubernetesCreateClusterResponseKubernetesClusterSso
impl RefUnwindSafe for KubernetesCreateClusterResponseKubernetesClusterSso
impl Send for KubernetesCreateClusterResponseKubernetesClusterSso
impl Sync for KubernetesCreateClusterResponseKubernetesClusterSso
impl Unpin for KubernetesCreateClusterResponseKubernetesClusterSso
impl UnsafeUnpin for KubernetesCreateClusterResponseKubernetesClusterSso
impl UnwindSafe for KubernetesCreateClusterResponseKubernetesClusterSso
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more