1. Packages
  2. Minio Provider
  3. Installation & Configuration
MinIO v0.16.1 published on Thursday, Oct 10, 2024 by Pulumi

Minio Provider: Installation & Configuration

minio logo
MinIO v0.16.1 published on Thursday, Oct 10, 2024 by Pulumi

    The Pulumi MinIO provider uses the MinIO SDK to manage and provision resources.

    Installation

    The MinIO provider is available as a package in all Pulumi languages:

    Configuring Credentials

    Pulumi relies on the MinIO SDK to authenticate requests from your computer to MinIO. Your credentials are never sent to pulumi.com. The Pulumi MinIO Provider needs to be configured with MinIO credentials before it can be used to create resources.

    Once the credentials are obtained, there are two ways to communicate your authorization tokens to Pulumi:

    1. Set the environment variables MINIO_ENDPOINT, MINIO_ACCESS_KEY and MINIO_SECRET_KEY:

      $ export MINIO_ENDPOINT=XXXXXXXXXXXXXX
      $ export MINIO_ACCESS_KEY=YYYYYYYYYYYYYY
      $ export MINIO_SECRET_KEY=ZZZZZZZZZZZZZZ
      
    2. Set them using configuration, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

      $ pulumi config set minio:minioServer XXXXXXXXXXXXXX
      $ pulumi config set minio:minioAccessKey YYYYYYYYYYYYYY --secret
      $ pulumi config set minio:minioSecretKey ZZZZZZZZZZZZZZ --secret
      

    Remember to pass --secret when setting minio:minioAccessKey and minio:minioSecretKey so that they are properly encrypted. The complete list of configuration parameters is in the MinIO provider README.

    minio logo
    MinIO v0.16.1 published on Thursday, Oct 10, 2024 by Pulumi