Skip to content

Have an action that returns the secret-key of MinIO #168

Description

@kimwnasptd

Context

Right now the secret-key config value of MinIO has a "" value as default. This then means that MinIO will create a random big password and use this value for the secret-key
https://github.com/canonical/minio-operator/blob/track/ckf-1.8/src/charm.py#L219-L234

Users should have a way in this case to be able to see the secret-key value that was autogenerated by the Charm.

Not that this change is only focused on the "interface" (actions) that users can use to get the value of secret-key. This could go hand in hand with #167, but can be a separate effort as well.

What needs to get done

  1. Have an action that returns the value of the secret-key that MinIO will have, which is either
    2. The value of the config
    3. The value that MinIO generated

Definition of Done

  1. Ensure the action returns the value, whether it was generated or not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions