Skip to content

Replace error message of missing credential item by user prompt if tty available #18

Description

@davidferlay

Current

  • When an action requires a credential item which is missing from keyring, an error is thrown:
ERROR   error on processing parameter "vault-pass" with "keyring.GetKeyValue": vaultpass not found in keyring. Use `plasmactl keyring:set` to add it.
  • Message is not very user friendly and may affray user

Expected

  • If TTY is available (ie action is not running in CI), it would be great to:

    • directly prompt user for missing credentials and add them to keyring, instead of raising an error message
  • If TTY is not available (ie action is running in CI), it would be great to:

    • raise a more user friendly error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions