Browse Source

docs: remove jwt token authentication option from STSSessionToken generator (#5468)

Signed-off-by: liununu <liununu5@gmail.com>
liununu 6 months ago
parent
commit
dda7b4c168
1 changed files with 1 additions and 8 deletions
  1. 1 8
      docs/snippets/generator-sts.yaml

+ 1 - 8
docs/snippets/generator-sts.yaml

@@ -15,7 +15,7 @@ spec:
   # credentials from the environment of the controller.
   auth:
 
-    # 1: static credentials
+    # static credentials:
     # point to a secret that contains static credentials
     # like AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY
     secretRef:
@@ -26,13 +26,6 @@ spec:
         name: "my-aws-creds"
         key: "access-secret"
 
-    # option 2: IAM Roles for Service Accounts
-    # point to a service account that should be used
-    # that is configured for IAM Roles for Service Accounts (IRSA)
-    jwt:
-      serviceAccountRef:
-        name: "oci-token-sync"
-
   # optional request parameters for further fine-tuning the Token generation.
   requestParameters:
     serialNumber: arn:aws:iam::123456789012:mfa/user