✨ Secrets Manager Beta is now live! (Calling all Devs + DevOps!)

For the SDK, a couple of improvements after trying to get started with it:

  • Make available the option to get a secret by the key provided at creation? At the moment it’s only possible to get the secret by the id and not the key itself. I feel the key should be honored as a means of retrieval since that’s what’ll be known to the caller.
  • For ClientProjects, expose functions to create(...) and also get_by_name(...). At the moment, projects can only be gotten by id (at the moment, I’ll need to call .list() and filter through to find the project’s id).
  • Make the ClientSecrets and ClientProjects public so that it can appear in the documentation. At the moment, I have to dive into the code to figure out what available functions are implemented on the struct.
  • Support creating a secret within a project. At the moment, ClientSecrets::create(...) only expects an organization id. Internally it sets the project_ids to None (in terms of priority amongst the above list, this has more importance for us).