-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: re-work user secrets #538
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leafty
force-pushed
the
leafty/session-secrets-5
branch
from
November 20, 2024 12:37
28a47c8
to
07a5ced
Compare
leafty
force-pushed
the
leafty/session-secrets-6
branch
from
November 20, 2024 12:38
f59b37a
to
97f191d
Compare
leafty
force-pushed
the
leafty/session-secrets-5
branch
from
November 22, 2024 09:52
07a5ced
to
3f25446
Compare
leafty
force-pushed
the
leafty/session-secrets-6
branch
from
November 22, 2024 10:24
f01c85c
to
4f61bdc
Compare
leafty
force-pushed
the
leafty/session-secrets-5
branch
from
November 22, 2024 11:56
bfc1946
to
8b17e2a
Compare
leafty
force-pushed
the
leafty/session-secrets-6
branch
5 times, most recently
from
November 22, 2024 15:45
907cdea
to
123d7a9
Compare
leafty
force-pushed
the
leafty/session-secrets-5
branch
from
November 27, 2024 10:20
8b17e2a
to
3be57a8
Compare
leafty
force-pushed
the
leafty/session-secrets-6
branch
from
November 27, 2024 14:26
97ce3b8
to
841bc01
Compare
leafty
force-pushed
the
leafty/session-secrets-5
branch
from
December 2, 2024 08:05
3be57a8
to
9c7479b
Compare
leafty
force-pushed
the
leafty/session-secrets-6
branch
from
December 2, 2024 08:59
841bc01
to
4ef9480
Compare
olevski
requested changes
Dec 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Flora. Just a few changes and questions.
Base automatically changed from
leafty/session-secrets-5
to
build/session-secrets
December 5, 2024 09:30
leafty
force-pushed
the
leafty/session-secrets-6
branch
from
December 5, 2024 09:33
76e6bbd
to
7035b09
Compare
olevski
approved these changes
Dec 6, 2024
leafty
added a commit
that referenced
this pull request
Dec 6, 2024
Re-work user secrets to make them more usable in Renku 2.0. Changes: * Change the `name` field to be `default_filename`. This field is only meaningful in the context of Renku 1.0. * Add a new `name` field (which does not have constraints) to let users name their secrets, e.g. "AWS Secret Key ID for Project XYZ". * User secret objects now include back references to Session secret slots and Data connectors -> `session_secret_slot_ids` and `data_connector_ids` fields returned from the API. * The `UserSecretsRepo` class has been split into `LowLevelUserSecretsRepo` and `UserSecretsRepo`. `LowLevelUserSecretsRepo` is used internally, e.g. for key rotation and `UserSecretsRepo` is used for the `UserSecretsBP` blueprint.
leafty
added a commit
that referenced
this pull request
Dec 9, 2024
Re-work user secrets to make them more usable in Renku 2.0. Changes: * Change the `name` field to be `default_filename`. This field is only meaningful in the context of Renku 1.0. * Add a new `name` field (which does not have constraints) to let users name their secrets, e.g. "AWS Secret Key ID for Project XYZ". * User secret objects now include back references to Session secret slots and Data connectors -> `session_secret_slot_ids` and `data_connector_ids` fields returned from the API. * The `UserSecretsRepo` class has been split into `LowLevelUserSecretsRepo` and `UserSecretsRepo`. `LowLevelUserSecretsRepo` is used internally, e.g. for key rotation and `UserSecretsRepo` is used for the `UserSecretsBP` blueprint.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #509.
Re-work user secrets to make them more usable in Renku 2.0.
Changes:
name
field to bedefault_filename
. This field is only meaningful in the context of Renku 1.0.name
field (which does not have constraints) to let users name their secrets, e.g. "AWS Secret Key ID for Project XYZ".session_secret_slot_ids
anddata_connector_ids
fields returned from the API.UserSecretsRepo
class has been split intoLowLevelUserSecretsRepo
andUserSecretsRepo
.LowLevelUserSecretsRepo
is used internally, e.g. for key rotation andUserSecretsRepo
is used for theUserSecretsBP
blueprint.The database migration has been tested here -> SwissDataScienceCenter/renku#3845.