Skip to content

Commit 5accf8f

Browse files
committed
Rewording of paragraph about provideClusterInfo key
Signed-off-by: Margo Crawford <[email protected]>
1 parent 28b3930 commit 5accf8f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

content/en/docs/reference/access-authn-authz/authentication.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,14 +1004,13 @@ RFC3339 timestamp. Presence or absence of an expiry has the following impact:
10041004
}
10051005
}
10061006
```
1007-
1008-
The plugin can optionally be called with an environment variable, `KUBERNETES_EXEC_INFO`,
1009-
that contains information about the cluster for which this plugin is obtaining
1010-
credentials. This information can be used to perform cluster-specific credential
1011-
acquisition logic. In order to enable this behavior, the `provideClusterInfo` field must
1012-
be set on the exec user field in the
1013-
[kubeconfig](/docs/concepts/configuration/organize-cluster-access-kubeconfig/). Here is an
1014-
example of the aforementioned `KUBERNETES_EXEC_INFO` environment variable.
1007+
To provide the plugin with information about the cluster for which it is
1008+
obtaining credentials, the `provideClusterInfo` field can be set on the exec user
1009+
field in the [kubeconfig](/docs/concepts/configuration/organize-cluster-access-kubeconfig/).
1010+
The plugin will then be supplied with an environment variable, `KUBERNETES_EXEC_INFO`.
1011+
Information from this environment variable can be used to perform cluster-specific
1012+
credential acquisition logic. Here is an example of the aforementioned
1013+
`KUBERNETES_EXEC_INFO` environment variable.
10151014

10161015
```json
10171016
{

0 commit comments

Comments
 (0)