Skip to content
This repository was archived by the owner on Jul 20, 2026. It is now read-only.
This repository was archived by the owner on Jul 20, 2026. It is now read-only.

Get credentials from environment variables #64

Open

Description

@RomLecat

Hello,

Currently, the only way to set credentials is through a file, which is not ideal with tools that manages secrets properly in environment variables, such as CI tools.

Could it be possible to gather credentials from env vars first, then fallback on files if they're not present ?

Thanks

Activity

  1. jerome-jutteau commented on Mar 1, 2021

    @jerome-jutteau
    Contributor

    Note for future assignee, those env variable are already used in osc-sdk-go. We could use the same.

    • OSC_ACCESS_KEY
    • OSC_SECRET_KEY
  2. RomLecat commented on Dec 7, 2022

    @RomLecat
    Author

    Hello,

    Any progress on this ? Lacking env vars makes osc-cli pretty much unusable in any CI setup.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions