diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json index 54b359072bea..7e9e1bc74d3e 100644 --- a/api/jsonschema/schema.json +++ b/api/jsonschema/schema.json @@ -6475,6 +6475,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", "description": "SecretKeySecret is the secret selector to the bucket's secret key" }, + "sessionTokenSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", + "description": "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)" + }, "useSDKCreds": { "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", "type": "boolean" @@ -6532,6 +6536,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", "description": "SecretKeySecret is the secret selector to the bucket's secret key" }, + "sessionTokenSecret": { + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector", + "description": "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)" + }, "useSDKCreds": { "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", "type": "boolean" diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index e34099acc667..207272fd19a9 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -10416,6 +10416,10 @@ "description": "SecretKeySecret is the secret selector to the bucket's secret key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, + "sessionTokenSecret": { + "description": "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, "useSDKCreds": { "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", "type": "boolean" @@ -10473,6 +10477,10 @@ "description": "SecretKeySecret is the secret selector to the bucket's secret key", "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" }, + "sessionTokenSecret": { + "description": "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector" + }, "useSDKCreds": { "description": "UseSDKCreds tells the driver to figure out credentials based on sdk defaults.", "type": "boolean" diff --git a/docs/configure-artifact-repository.md b/docs/configure-artifact-repository.md index 2261015a5abd..6a44cce00200 100644 --- a/docs/configure-artifact-repository.md +++ b/docs/configure-artifact-repository.md @@ -82,6 +82,16 @@ an access key, you will need to create a user with just the permissions you want to associate with the access key. Otherwise, you can just create an access key using your existing user account. +Although users are not able to have a reduced scope, S3 access grants created +via a user are. These credentials however, are temporary, and therefore need +to be periodically generated/refreshed by an external mechanism. + +The example below creates a bucket, a user that is able to access the bucket, +and a set of access keys. The procedure is the same if you wish to use an IAM role, +except you will need to instead create a role and attach the same policy as below. +Please note that role credentials are temporary and will need to be periodically +generated/refreshed by an external mechanism. + ```bash $ export mybucket=bucket249 $ cat > policy.json <= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SessionTokenSecret == nil { + m.SessionTokenSecret = &v1.SecretKeySelector{} + } + if err := m.SessionTokenSecret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) diff --git a/pkg/apis/workflow/v1alpha1/generated.proto b/pkg/apis/workflow/v1alpha1/generated.proto index 75daf99022cb..a75b1143d46d 100644 --- a/pkg/apis/workflow/v1alpha1/generated.proto +++ b/pkg/apis/workflow/v1alpha1/generated.proto @@ -1414,6 +1414,9 @@ message S3Bucket { // CASecret specifies the secret that contains the CA, used to verify the TLS connection optional k8s.io.api.core.v1.SecretKeySelector caSecret = 11; + + // SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant) + optional k8s.io.api.core.v1.SecretKeySelector sessionTokenSecret = 12; } // S3EncryptionOptions used to determine encryption options during s3 operations diff --git a/pkg/apis/workflow/v1alpha1/openapi_generated.go b/pkg/apis/workflow/v1alpha1/openapi_generated.go index 56d15884603e..4e7855990a6c 100644 --- a/pkg/apis/workflow/v1alpha1/openapi_generated.go +++ b/pkg/apis/workflow/v1alpha1/openapi_generated.go @@ -5170,6 +5170,12 @@ func schema_pkg_apis_workflow_v1alpha1_S3Artifact(ref common.ReferenceCallback) Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), }, }, + "sessionTokenSecret": { + SchemaProps: spec.SchemaProps{ + Description: "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)", + Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), + }, + }, "key": { SchemaProps: spec.SchemaProps{ Description: "Key is the key in the bucket where the artifact resides", @@ -5263,6 +5269,12 @@ func schema_pkg_apis_workflow_v1alpha1_S3ArtifactRepository(ref common.Reference Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), }, }, + "sessionTokenSecret": { + SchemaProps: spec.SchemaProps{ + Description: "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)", + Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), + }, + }, "keyFormat": { SchemaProps: spec.SchemaProps{ Description: "KeyFormat defines the format of how to store keys and can reference workflow variables.", @@ -5363,6 +5375,12 @@ func schema_pkg_apis_workflow_v1alpha1_S3Bucket(ref common.ReferenceCallback) co Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), }, }, + "sessionTokenSecret": { + SchemaProps: spec.SchemaProps{ + Description: "SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant)", + Ref: ref("k8s.io/api/core/v1.SecretKeySelector"), + }, + }, }, }, }, diff --git a/pkg/apis/workflow/v1alpha1/workflow_types.go b/pkg/apis/workflow/v1alpha1/workflow_types.go index a807ddf9a8b6..c9f0e4089d10 100644 --- a/pkg/apis/workflow/v1alpha1/workflow_types.go +++ b/pkg/apis/workflow/v1alpha1/workflow_types.go @@ -2522,6 +2522,9 @@ type S3Bucket struct { // CASecret specifies the secret that contains the CA, used to verify the TLS connection CASecret *apiv1.SecretKeySelector `json:"caSecret,omitempty" protobuf:"bytes,11,opt,name=caSecret"` + + // SessionTokenSecret is used for credentials which are ephemeral (e.g. IAM assume role or S3 access grant) + SessionTokenSecret *apiv1.SecretKeySelector `json:"sessionTokenSecret,omitempty" protobuf:"bytes,12,opt,name=sessionTokenSecret"` } // S3EncryptionOptions used to determine encryption options during s3 operations diff --git a/pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go index f71aca040c98..4d511209a01f 100644 --- a/pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go @@ -2786,6 +2786,11 @@ func (in *S3Bucket) DeepCopyInto(out *S3Bucket) { *out = new(v1.SecretKeySelector) (*in).DeepCopyInto(*out) } + if in.SessionTokenSecret != nil { + in, out := &in.SessionTokenSecret, &out.SessionTokenSecret + *out = new(v1.SecretKeySelector) + (*in).DeepCopyInto(*out) + } return } diff --git a/pkg/plugins/executor/swagger.yml b/pkg/plugins/executor/swagger.yml index a503bffe916b..0c425df6145f 100644 --- a/pkg/plugins/executor/swagger.yml +++ b/pkg/plugins/executor/swagger.yml @@ -3350,6 +3350,8 @@ definitions: type: string secretKeySecret: $ref: '#/definitions/SecretKeySelector' + sessionTokenSecret: + $ref: '#/definitions/SecretKeySelector' useSDKCreds: description: UseSDKCreds tells the driver to figure out credentials based on sdk defaults. type: boolean diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md index 1be6bf86bdc8..30c169da0a1f 100644 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md +++ b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **region** | **String** | Region contains the optional bucket region | [optional] **roleARN** | **String** | RoleARN is the Amazon Resource Name (ARN) of the role to assume. | [optional] **secretKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**sessionTokenSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **useSDKCreds** | **Boolean** | UseSDKCreds tells the driver to figure out credentials based on sdk defaults. | [optional] diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md index 94e6711f1831..15d0f0effa1a 100644 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md +++ b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **region** | **String** | Region contains the optional bucket region | [optional] **roleARN** | **String** | RoleARN is the Amazon Resource Name (ARN) of the role to assume. | [optional] **secretKeySecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] +**sessionTokenSecret** | [**io.kubernetes.client.openapi.models.V1SecretKeySelector**](io.kubernetes.client.openapi.models.V1SecretKeySelector.md) | | [optional] **useSDKCreds** | **Boolean** | UseSDKCreds tells the driver to figure out credentials based on sdk defaults. | [optional] diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py index fd019b40a4b6..9b6e62a81885 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact.py @@ -102,6 +102,7 @@ def openapi_types(): 'region': (str,), # noqa: E501 'role_arn': (str,), # noqa: E501 'secret_key_secret': (SecretKeySelector,), # noqa: E501 + 'session_token_secret': (SecretKeySelector,), # noqa: E501 'use_sdk_creds': (bool,), # noqa: E501 } @@ -122,6 +123,7 @@ def discriminator(): 'region': 'region', # noqa: E501 'role_arn': 'roleARN', # noqa: E501 'secret_key_secret': 'secretKeySecret', # noqa: E501 + 'session_token_secret': 'sessionTokenSecret', # noqa: E501 'use_sdk_creds': 'useSDKCreds', # noqa: E501 } @@ -177,6 +179,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 region (str): Region contains the optional bucket region. [optional] # noqa: E501 role_arn (str): RoleARN is the Amazon Resource Name (ARN) of the role to assume.. [optional] # noqa: E501 secret_key_secret (SecretKeySelector): [optional] # noqa: E501 + session_token_secret (SecretKeySelector): [optional] # noqa: E501 use_sdk_creds (bool): UseSDKCreds tells the driver to figure out credentials based on sdk defaults.. [optional] # noqa: E501 """ @@ -270,6 +273,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 region (str): Region contains the optional bucket region. [optional] # noqa: E501 role_arn (str): RoleARN is the Amazon Resource Name (ARN) of the role to assume.. [optional] # noqa: E501 secret_key_secret (SecretKeySelector): [optional] # noqa: E501 + session_token_secret (SecretKeySelector): [optional] # noqa: E501 use_sdk_creds (bool): UseSDKCreds tells the driver to figure out credentials based on sdk defaults.. [optional] # noqa: E501 """ diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py index c61fa854ac92..18f16fa8237f 100644 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py +++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_s3_artifact_repository.py @@ -103,6 +103,7 @@ def openapi_types(): 'region': (str,), # noqa: E501 'role_arn': (str,), # noqa: E501 'secret_key_secret': (SecretKeySelector,), # noqa: E501 + 'session_token_secret': (SecretKeySelector,), # noqa: E501 'use_sdk_creds': (bool,), # noqa: E501 } @@ -124,6 +125,7 @@ def discriminator(): 'region': 'region', # noqa: E501 'role_arn': 'roleARN', # noqa: E501 'secret_key_secret': 'secretKeySecret', # noqa: E501 + 'session_token_secret': 'sessionTokenSecret', # noqa: E501 'use_sdk_creds': 'useSDKCreds', # noqa: E501 } @@ -180,6 +182,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 region (str): Region contains the optional bucket region. [optional] # noqa: E501 role_arn (str): RoleARN is the Amazon Resource Name (ARN) of the role to assume.. [optional] # noqa: E501 secret_key_secret (SecretKeySelector): [optional] # noqa: E501 + session_token_secret (SecretKeySelector): [optional] # noqa: E501 use_sdk_creds (bool): UseSDKCreds tells the driver to figure out credentials based on sdk defaults.. [optional] # noqa: E501 """ @@ -274,6 +277,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 region (str): Region contains the optional bucket region. [optional] # noqa: E501 role_arn (str): RoleARN is the Amazon Resource Name (ARN) of the role to assume.. [optional] # noqa: E501 secret_key_secret (SecretKeySelector): [optional] # noqa: E501 + session_token_secret (SecretKeySelector): [optional] # noqa: E501 use_sdk_creds (bool): UseSDKCreds tells the driver to figure out credentials based on sdk defaults.. [optional] # noqa: E501 """ diff --git a/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md b/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md index 5f2d50121d95..44d2030a5ee0 100644 --- a/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md +++ b/sdks/python/client/docs/ClusterWorkflowTemplateServiceApi.md @@ -553,6 +553,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -865,6 +870,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -1486,6 +1496,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -2296,6 +2311,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2578,6 +2598,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2882,6 +2907,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3441,6 +3471,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3765,6 +3800,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4050,6 +4090,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4892,6 +4937,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -5170,6 +5220,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -6053,6 +6108,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -6863,6 +6923,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7145,6 +7210,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7449,6 +7519,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8008,6 +8083,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8332,6 +8412,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8617,6 +8702,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9459,6 +9549,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9737,6 +9832,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11487,6 +11587,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11799,6 +11904,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -12420,6 +12530,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -13230,6 +13345,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13512,6 +13632,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13816,6 +13941,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14375,6 +14505,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14699,6 +14834,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14984,6 +15124,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15826,6 +15971,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16104,6 +16254,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16987,6 +17142,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -17797,6 +17957,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18079,6 +18244,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18383,6 +18553,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18942,6 +19117,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19266,6 +19446,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19551,6 +19736,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20393,6 +20583,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20671,6 +20866,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22325,6 +22525,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22637,6 +22842,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -23258,6 +23468,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -24068,6 +24283,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24350,6 +24570,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24654,6 +24879,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25213,6 +25443,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25537,6 +25772,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25822,6 +26062,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26664,6 +26909,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26942,6 +27192,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -27825,6 +28080,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -28635,6 +28895,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -28917,6 +29182,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29221,6 +29491,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29780,6 +30055,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30104,6 +30384,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30389,6 +30674,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31231,6 +31521,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31509,6 +31804,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", diff --git a/sdks/python/client/docs/CronWorkflowServiceApi.md b/sdks/python/client/docs/CronWorkflowServiceApi.md index 455b2749c5cd..b86be840612f 100644 --- a/sdks/python/client/docs/CronWorkflowServiceApi.md +++ b/sdks/python/client/docs/CronWorkflowServiceApi.md @@ -613,6 +613,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -925,6 +930,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -1546,6 +1556,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -2356,6 +2371,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2638,6 +2658,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2942,6 +2967,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3501,6 +3531,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3825,6 +3860,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4110,6 +4150,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4952,6 +4997,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -5230,6 +5280,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -6113,6 +6168,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -6923,6 +6983,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7205,6 +7270,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7509,6 +7579,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8068,6 +8143,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8392,6 +8472,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8677,6 +8762,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9519,6 +9609,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9797,6 +9892,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11629,6 +11729,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11941,6 +12046,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -12562,6 +12672,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -13372,6 +13487,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13654,6 +13774,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13958,6 +14083,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14517,6 +14647,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14841,6 +14976,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15126,6 +15266,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15968,6 +16113,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16246,6 +16396,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -17129,6 +17284,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -17939,6 +18099,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18221,6 +18386,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18525,6 +18695,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19084,6 +19259,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19408,6 +19588,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19693,6 +19878,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20535,6 +20725,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20813,6 +21008,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22730,6 +22930,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -23042,6 +23247,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -23663,6 +23873,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -24473,6 +24688,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24755,6 +24975,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25059,6 +25284,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25618,6 +25848,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25942,6 +26177,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26227,6 +26467,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -27069,6 +27314,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -27347,6 +27597,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -28230,6 +28485,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -29040,6 +29300,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29322,6 +29587,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29626,6 +29896,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30185,6 +30460,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30509,6 +30789,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30794,6 +31079,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31636,6 +31926,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31914,6 +32209,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md index ef36d6a0acb0..ca6bb8fcc0a8 100644 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md +++ b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3Artifact.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **region** | **str** | Region contains the optional bucket region | [optional] **role_arn** | **str** | RoleARN is the Amazon Resource Name (ARN) of the role to assume. | [optional] **secret_key_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**session_token_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **use_sdk_creds** | **bool** | UseSDKCreds tells the driver to figure out credentials based on sdk defaults. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md index 1e46072155e5..70425c310d4d 100644 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md +++ b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1S3ArtifactRepository.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **region** | **str** | Region contains the optional bucket region | [optional] **role_arn** | **str** | RoleARN is the Amazon Resource Name (ARN) of the role to assume. | [optional] **secret_key_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] +**session_token_secret** | [**SecretKeySelector**](SecretKeySelector.md) | | [optional] **use_sdk_creds** | **bool** | UseSDKCreds tells the driver to figure out credentials based on sdk defaults. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/sdks/python/client/docs/WorkflowServiceApi.md b/sdks/python/client/docs/WorkflowServiceApi.md index 4296e4211333..f136a2c21b49 100644 --- a/sdks/python/client/docs/WorkflowServiceApi.md +++ b/sdks/python/client/docs/WorkflowServiceApi.md @@ -568,6 +568,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -880,6 +885,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -1501,6 +1511,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -2311,6 +2326,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2593,6 +2613,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2897,6 +2922,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3456,6 +3486,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3780,6 +3815,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4065,6 +4105,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4907,6 +4952,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -5185,6 +5235,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -6068,6 +6123,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -6878,6 +6938,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7160,6 +7225,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7464,6 +7534,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8023,6 +8098,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8347,6 +8427,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8632,6 +8717,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9474,6 +9564,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9752,6 +9847,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -10866,6 +10966,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -11136,6 +11241,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11422,6 +11532,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11717,6 +11832,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -12548,6 +12668,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -13358,6 +13483,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13640,6 +13770,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13944,6 +14079,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14503,6 +14643,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14827,6 +14972,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15112,6 +15262,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15954,6 +16109,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16232,6 +16392,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -17146,6 +17311,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -17458,6 +17628,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18079,6 +18254,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -18889,6 +19069,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19171,6 +19356,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19475,6 +19665,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20034,6 +20229,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20358,6 +20558,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20643,6 +20848,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -21485,6 +21695,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -21763,6 +21978,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22646,6 +22866,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -23456,6 +23681,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -23738,6 +23968,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24042,6 +24277,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24601,6 +24841,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24925,6 +25170,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25210,6 +25460,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26052,6 +26307,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26330,6 +26590,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -28122,6 +28387,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -28434,6 +28704,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29055,6 +29330,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -29865,6 +30145,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30147,6 +30432,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30451,6 +30741,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31010,6 +31305,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31334,6 +31634,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31619,6 +31924,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -32461,6 +32771,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -32739,6 +33054,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -33622,6 +33942,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -34432,6 +34757,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -34714,6 +35044,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -35018,6 +35353,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -35577,6 +35917,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -35901,6 +36246,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -36186,6 +36536,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -37028,6 +37383,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -37306,6 +37666,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -38420,6 +38785,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -38690,6 +39060,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -38976,6 +39351,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -39271,6 +39651,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -40102,6 +40487,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -40912,6 +41302,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -41194,6 +41589,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -41498,6 +41898,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -42057,6 +42462,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -42381,6 +42791,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -42666,6 +43081,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -43508,6 +43928,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -43786,6 +44211,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -44700,6 +45130,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -45012,6 +45447,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -45633,6 +46073,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -46443,6 +46888,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -46725,6 +47175,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -47029,6 +47484,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -47588,6 +48048,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -47912,6 +48377,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -48197,6 +48667,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -49039,6 +49514,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -49317,6 +49797,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -50200,6 +50685,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -51010,6 +51500,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -51292,6 +51787,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -51596,6 +52096,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -52155,6 +52660,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -52479,6 +52989,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -52764,6 +53279,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -53606,6 +54126,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -53884,6 +54409,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", diff --git a/sdks/python/client/docs/WorkflowTemplateServiceApi.md b/sdks/python/client/docs/WorkflowTemplateServiceApi.md index 8f9032d97d57..c2ba3573b4ff 100644 --- a/sdks/python/client/docs/WorkflowTemplateServiceApi.md +++ b/sdks/python/client/docs/WorkflowTemplateServiceApi.md @@ -555,6 +555,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -867,6 +872,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -1488,6 +1498,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -2298,6 +2313,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2580,6 +2600,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -2884,6 +2909,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3443,6 +3473,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -3767,6 +3802,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4052,6 +4092,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -4894,6 +4939,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -5172,6 +5222,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -6055,6 +6110,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -6865,6 +6925,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7147,6 +7212,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -7451,6 +7521,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8010,6 +8085,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8334,6 +8414,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -8619,6 +8704,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9461,6 +9551,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -9739,6 +9834,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11496,6 +11596,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -11808,6 +11913,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -12429,6 +12539,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -13239,6 +13354,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13521,6 +13641,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -13825,6 +13950,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14384,6 +14514,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14708,6 +14843,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -14993,6 +15133,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -15835,6 +15980,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16113,6 +16263,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -16996,6 +17151,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -17806,6 +17966,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18088,6 +18253,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18392,6 +18562,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -18951,6 +19126,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19275,6 +19455,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -19560,6 +19745,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20402,6 +20592,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -20680,6 +20875,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22348,6 +22548,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -22660,6 +22865,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -23281,6 +23491,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -24091,6 +24306,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24373,6 +24593,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -24677,6 +24902,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25236,6 +25466,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25560,6 +25795,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -25845,6 +26085,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26687,6 +26932,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -26965,6 +27215,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -27848,6 +28103,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), ), @@ -28658,6 +28918,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -28940,6 +29205,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29244,6 +29514,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -29803,6 +30078,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30127,6 +30407,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -30412,6 +30697,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31254,6 +31544,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", @@ -31532,6 +31827,11 @@ with argo_workflows.ApiClient(configuration) as api_client: name="name_example", optional=True, ), + session_token_secret=SecretKeySelector( + key="key_example", + name="name_example", + optional=True, + ), use_sdk_creds=True, ), sub_path="sub_path_example", diff --git a/workflow/artifacts/artifacts.go b/workflow/artifacts/artifacts.go index 88c57267f0b1..8501242adb14 100644 --- a/workflow/artifacts/artifacts.go +++ b/workflow/artifacts/artifacts.go @@ -36,6 +36,7 @@ func newDriver(ctx context.Context, art *wfv1.Artifact, ri resource.Interface) ( if art.S3 != nil { var accessKey string var secretKey string + var sessionToken string var serverSideCustomerKey string var kmsKeyId string var kmsEncryptionContext string @@ -53,6 +54,14 @@ func newDriver(ctx context.Context, art *wfv1.Artifact, ri resource.Interface) ( return nil, err } secretKey = secretKeyBytes + + if art.S3.SessionTokenSecret != nil && art.S3.SessionTokenSecret.Name != "" { + sessionTokenBytes, err := ri.GetSecret(ctx, art.S3.SessionTokenSecret.Name, art.S3.SessionTokenSecret.Key) + if err != nil { + return nil, err + } + sessionToken = sessionTokenBytes + } } if art.S3.EncryptionOptions != nil { @@ -85,6 +94,7 @@ func newDriver(ctx context.Context, art *wfv1.Artifact, ri resource.Interface) ( Endpoint: art.S3.Endpoint, AccessKey: accessKey, SecretKey: secretKey, + SessionToken: sessionToken, Secure: art.S3.Insecure == nil || !*art.S3.Insecure, TrustedCA: caKey, Region: art.S3.Region, diff --git a/workflow/artifacts/artifacts_test.go b/workflow/artifacts/artifacts_test.go new file mode 100644 index 000000000000..1711d033efc9 --- /dev/null +++ b/workflow/artifacts/artifacts_test.go @@ -0,0 +1,64 @@ +package executor + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + apiv1 "k8s.io/api/core/v1" + + wfv1 "github.com/argoproj/argo-workflows/v3/pkg/apis/workflow/v1alpha1" + "github.com/argoproj/argo-workflows/v3/workflow/artifacts/s3" +) + +type mockResourceInterface struct{} + +func (*mockResourceInterface) GetSecret(ctx context.Context, name, key string) (string, error) { + // Mock getSecret that doesn't actually read from a store, just return a different value to assert it was called + return key + "-secret", nil +} + +func (*mockResourceInterface) GetConfigMapKey(ctx context.Context, name, key string) (string, error) { + // We don't need GetConfigMapKey for initialising the driver + return "", nil +} + +func Test_newDriverS3(t *testing.T) { + art := &wfv1.Artifact{ + ArtifactLocation: wfv1.ArtifactLocation{S3: &wfv1.S3Artifact{ + S3Bucket: wfv1.S3Bucket{ + Endpoint: "endpoint", + Bucket: "bucket", + Region: "us-east-1", + AccessKeySecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "accesskey", + }, + Key: "access-key", + }, + SecretKeySecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "secretkey", + }, + Key: "secret-key", + }, + SessionTokenSecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "sessiontoken", + }, + Key: "session-token", + }, + }, + Key: "art", + }}, + } + + got, err := newDriver(context.TODO(), art, &mockResourceInterface{}) + require.NoError(t, err) + + artDriver := got.(*s3.ArtifactDriver) + assert.Equal(t, art.S3.AccessKeySecret.Key+"-secret", artDriver.AccessKey) + assert.Equal(t, art.S3.SecretKeySecret.Key+"-secret", artDriver.SecretKey) + assert.Equal(t, art.S3.SessionTokenSecret.Key+"-secret", artDriver.SessionToken) +} diff --git a/workflow/artifacts/s3/s3.go b/workflow/artifacts/s3/s3.go index 3255bd0eb874..5ce08584bc48 100644 --- a/workflow/artifacts/s3/s3.go +++ b/workflow/artifacts/s3/s3.go @@ -31,6 +31,7 @@ type ArtifactDriver struct { TrustedCA string AccessKey string SecretKey string + SessionToken string RoleARN string UseSDKCreds bool Context context.Context @@ -45,14 +46,15 @@ var _ artifactscommon.ArtifactDriver = &ArtifactDriver{} // newS3Client instantiates a new S3 client object. func (s3Driver *ArtifactDriver) newS3Client(ctx context.Context) (argos3.S3Client, error) { opts := argos3.S3ClientOpts{ - Endpoint: s3Driver.Endpoint, - Region: s3Driver.Region, - Secure: s3Driver.Secure, - AccessKey: s3Driver.AccessKey, - SecretKey: s3Driver.SecretKey, - RoleARN: s3Driver.RoleARN, - Trace: os.Getenv(common.EnvVarArgoTrace) == "1", - UseSDKCreds: s3Driver.UseSDKCreds, + Endpoint: s3Driver.Endpoint, + Region: s3Driver.Region, + Secure: s3Driver.Secure, + AccessKey: s3Driver.AccessKey, + SecretKey: s3Driver.SecretKey, + SessionToken: s3Driver.SessionToken, + RoleARN: s3Driver.RoleARN, + Trace: os.Getenv(common.EnvVarArgoTrace) == "1", + UseSDKCreds: s3Driver.UseSDKCreds, EncryptOpts: argos3.EncryptOpts{ KmsKeyId: s3Driver.KmsKeyId, KmsEncryptionContext: s3Driver.KmsEncryptionContext, diff --git a/workflow/controller/workflowpod.go b/workflow/controller/workflowpod.go index 267ff2d35514..fb1bfb852f9a 100644 --- a/workflow/controller/workflowpod.go +++ b/workflow/controller/workflowpod.go @@ -1308,6 +1308,9 @@ func createSecretVolumesFromArtifactLocations(volMap map[string]apiv1.Volume, ar if artifactLocation.S3 != nil { createSecretVal(volMap, artifactLocation.S3.AccessKeySecret, keyMap) createSecretVal(volMap, artifactLocation.S3.SecretKeySecret, keyMap) + if artifactLocation.S3.SessionTokenSecret != nil { + createSecretVal(volMap, artifactLocation.S3.SessionTokenSecret, keyMap) + } sseCUsed := artifactLocation.S3.EncryptionOptions != nil && artifactLocation.S3.EncryptionOptions.EnableEncryption && artifactLocation.S3.EncryptionOptions.ServerSideCustomerKeySecret != nil if sseCUsed { createSecretVal(volMap, artifactLocation.S3.EncryptionOptions.ServerSideCustomerKeySecret, keyMap) diff --git a/workflow/controller/workflowpod_test.go b/workflow/controller/workflowpod_test.go index 3680bff28247..c5215ed20537 100644 --- a/workflow/controller/workflowpod_test.go +++ b/workflow/controller/workflowpod_test.go @@ -1253,7 +1253,94 @@ func Test_createSecretVolumesFromArtifactLocations_SSECUsed(t *testing.T) { break } } +} + +func Test_createSecretVolumesFromArtifactLocations_SessionToken(t *testing.T) { + ctx := context.Background() + cancel, controller := newControllerWithComplexDefaults() + defer cancel() + + wf := wfv1.MustUnmarshalWorkflow(helloWorldWf) + wf.Spec.Templates[0].Inputs = wfv1.Inputs{ + Artifacts: []wfv1.Artifact{ + { + Name: "foo", + Path: "/tmp/file", + ArtifactLocation: wfv1.ArtifactLocation{ + S3: &wfv1.S3Artifact{ + Key: "/foo/key", + }, + }, + Archive: &wfv1.ArchiveStrategy{ + None: &wfv1.NoneStrategy{}, + }, + }, + }, + } + woc := newWorkflowOperationCtx(wf, controller) + setArtifactRepository(woc.controller, + &wfv1.ArtifactRepository{ + S3: &wfv1.S3ArtifactRepository{ + S3Bucket: wfv1.S3Bucket{ + Bucket: "foo", + AccessKeySecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "accesskey", + }, + Key: "access-key", + }, + SecretKeySecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "secretkey", + }, + Key: "secret-key", + }, + SessionTokenSecret: &apiv1.SecretKeySelector{ + LocalObjectReference: apiv1.LocalObjectReference{ + Name: "sessiontoken", + }, + Key: "session-token", + }, + }, + }, + }, + ) + + wantedKeysVolume := apiv1.Volume{ + Name: "sessiontoken", + VolumeSource: apiv1.VolumeSource{ + Secret: &apiv1.SecretVolumeSource{ + SecretName: "sessiontoken", + Items: []apiv1.KeyToPath{ + { + Key: "session-token", + Path: "session-token", + }, + }, + }, + }, + } + wantedInitContainerVolumeMount := apiv1.VolumeMount{ + Name: "sessiontoken", + ReadOnly: true, + MountPath: path.Join(common.SecretVolMountPath, "sessiontoken"), + } + + err := woc.setExecWorkflow(ctx) + require.NoError(t, err) + woc.operate(ctx) + + mainCtr := woc.execWf.Spec.Templates[0].Container + for i := 1; i < 5; i++ { + pod, _ := woc.createWorkflowPod(ctx, wf.Name, []apiv1.Container{*mainCtr}, &wf.Spec.Templates[0], &createWorkflowPodOpts{}) + if pod != nil { + assert.Contains(t, pod.Spec.Volumes, wantedKeysVolume) + assert.Len(t, pod.Spec.InitContainers, 1) + assert.Contains(t, pod.Spec.InitContainers[0].VolumeMounts, wantedInitContainerVolumeMount) + break + } + } } var helloWorldWfWithPatch = `