Skip to content

Commit

Permalink
Remove session token and profile credential name
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Dec 3, 2024
1 parent ad8eaaf commit e07df9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 60 deletions.
25 changes: 0 additions & 25 deletions config/core/resources/integrationsink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,6 @@ spec:
true overrides any behavior defined by the `includeBody` option. If
false, the S3 object is put in the body.
default: false
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -242,16 +232,6 @@ spec:
type: string
title: Queue URL
description: The full SQS Queue URL (required if using KEDA)
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -313,11 +293,6 @@ spec:
title: Autocreate Topic
description: Setting the autocreation of the SNS topic.
default: false
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down
30 changes: 0 additions & 30 deletions config/core/resources/integrationsource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,6 @@ spec:
true overrides any behavior defined by the `includeBody` option. If
false, the S3 object is put in the body.
default: false
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -232,16 +222,6 @@ spec:
type: string
title: Queue URL
description: The full SQS Queue URL (required if using KEDA)
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
a IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down Expand Up @@ -306,16 +286,6 @@ spec:
Note that using FROM_START can cause a significant delay before the stream
has caught up to real-time.
default: FROM_LATEST
profileCredentialsName:
type: string
title: Profile Credentials Name
description: If using a profile credentials provider this parameter
will set the profile name.
sessionToken:
type: string
title: Session Token
description: Amazon AWS Session Token used when the user needs to assume
an IAM role.
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
Expand Down
8 changes: 3 additions & 5 deletions pkg/apis/common/integration/v1alpha1/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ const (

type AWSCommon struct {
// Auth is the S3 authentication (accessKey/secretKey) configuration.
Region string `json:"region,omitempty"` // AWS region
ProfileCredentialsName string `json:"profileCredentialsName,omitempty"` // Profile name for profile credentials provider
SessionToken string `json:"sessionToken,omitempty"` // Session token
URIEndpointOverride string `json:"uriEndpointOverride,omitempty"` // Override endpoint URI
OverrideEndpoint bool `json:"overrideEndpoint" default:"false"` // Override endpoint flag
Region string `json:"region,omitempty"` // AWS region
URIEndpointOverride string `json:"uriEndpointOverride,omitempty"` // Override endpoint URI
OverrideEndpoint bool `json:"overrideEndpoint" default:"false"` // Override endpoint flag
}

type AWSS3 struct {
Expand Down

0 comments on commit e07df9b

Please sign in to comment.