Skip to content

Commit e64ea9d

Browse files
committed
add secret key constants for oidc access
1 parent d5e97d0 commit e64ea9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/clusters/v1alpha1/constants.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,13 @@ const (
8484
// SecretKeyCreationTimestamp is the name of the key in the AccessRequest secret that contains the creation timestamp.
8585
// This value is optional and must not be set for non-expiring authentication methods.
8686
SecretKeyCreationTimestamp = "creationTimestamp"
87+
// SecretKeyCAData is the name of the key in the AccessRequest secret that contains the CA data.
88+
// This value is optional and must not be set.
89+
SecretKeyCAData = "caData"
90+
// SecretKeyHost is the name of the key in the AccessRequest secret that contains the host.
91+
// This value is optional and must not be set.
92+
SecretKeyHost = "host"
93+
// SecretKeyClientID is the name of the key in the AccessRequest secret that contains the client ID.
94+
// This value is optional and must not be set for non-OIDC-based authentication methods.
95+
SecretKeyClientID = "clientID"
8796
)

0 commit comments

Comments
 (0)