Skip to content

feat/implement-sa-keys#720

Merged
marceljk merged 5 commits intostackitcloud:mainfrom
h3adex:feat/implement-sa-keys-json-only
Mar 24, 2025
Merged

feat/implement-sa-keys#720
marceljk merged 5 commits intostackitcloud:mainfrom
h3adex:feat/implement-sa-keys-json-only

Conversation

@h3adex
Copy link
Copy Markdown
Contributor

@h3adex h3adex commented Mar 18, 2025

As a user, I want to be able to generate keys for a service account with customizable validity periods and signing options, so that I can choose between using a STACKIT certificate or a private RSA key for signing. The JSON response used to authenticate against the Stackit service should be available as a resource attribute.

Implementing data sources does not seem feasible in this case, since STACKIT does not store the private key itself. Consequently, a data source would lack important content.

@h3adex h3adex force-pushed the feat/implement-sa-keys-json-only branch 10 times, most recently from bf4f48f to a483239 Compare March 21, 2025 13:47
@h3adex h3adex changed the title Draft: feat/implement-sa-keys feat/implement-sa-keys Mar 21, 2025
@h3adex
Copy link
Copy Markdown
Contributor Author

h3adex commented Mar 21, 2025

Ready for review

Comment thread stackit/internal/services/serviceaccount/key/resource_test.go Outdated
@rubenhoenle
Copy link
Copy Markdown
Member

  • Check if it makes sense to not only implement a resource but also a data source for this

Also a general question / remark: Can you please link an GitHub issue or Jira issue which describes what you want to achieve within your PRs? You can also provide the information in the description of the PR for this time.

@h3adex h3adex force-pushed the feat/implement-sa-keys-json-only branch from a483239 to 6f736b6 Compare March 21, 2025 14:38
@h3adex h3adex force-pushed the feat/implement-sa-keys-json-only branch 2 times, most recently from 6eb32f4 to c6f03a8 Compare March 21, 2025 14:46
@h3adex h3adex force-pushed the feat/implement-sa-keys-json-only branch from c6f03a8 to 3b7f0ec Compare March 21, 2025 14:49
Comment thread stackit/internal/services/serviceaccount/key/resource.go Outdated
Comment thread stackit/internal/services/serviceaccount/key/resource.go Outdated
Copy link
Copy Markdown
Contributor

@marceljk marceljk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good only a few small things

Comment thread stackit/internal/services/serviceaccount/key/resource.go Outdated
Comment thread stackit/internal/services/serviceaccount/key/resource.go Outdated
Comment thread stackit/internal/services/serviceaccount/key/resource_test.go Outdated
Comment thread stackit/internal/services/serviceaccount/key/resource.go Outdated
@h3adex h3adex force-pushed the feat/implement-sa-keys-json-only branch from 7545496 to 9214630 Compare March 24, 2025 11:19
@marceljk marceljk merged commit 646c15d into stackitcloud:main Mar 24, 2025
3 checks passed
@h3adex h3adex deleted the feat/implement-sa-keys-json-only branch September 2, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants