Skip to content

[RFE] Change Secrets File Name  #37

Description

@Ompragash

Presently, the API token for Harness is saved in a file called .secrets.json within the user's HOME directory. The concern with this naming choice is that it lacks distinctiveness, making it challenging to associate it as being related to Harness, similar to secret files for other providers like AWS or Terraform.

For instance, with AWS:
/Users/redacted/.aws/credentials

and for Terraform:
/Users/redacted/.terraform.d/credentials.tfrc.json

Therefore, the suggestion put forth is to house the Harness API token in one of two ways:

  1. Inside a file titled .harness.secrets.json OR
  2. Within a concealed directory named .harness created within the user's HOME directory, containing the secrets.json file.

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