ydb-kubernetes-operator icon indicating copy to clipboard operation
ydb-kubernetes-operator copied to clipboard

feat: Support authorization using OAuth 2.0 token

Open mvgorbunov opened this issue 8 months ago • 0 comments

Describe the Feature Request

Current authorization method requires prepared access token that should be already prepared (jwt) outside operator and updated before expired https://github.com/ydb-platform/ydb-kubernetes-operator/blob/11716fcb5d7af33973912afdfd504fea2c3e8128/internal/resources/resource.go#L436-L452

Since ydb-go-sdk supports OAuth 2.0 Token Exchange credentials provider https://github.com/ydb-platform/ydb-go-sdk/commit/5aabdd3316556bdaf7d34434de4506a427b94c0f it would be fine to add it to operator.

mvgorbunov avatar Jun 09 '24 08:06 mvgorbunov