Skip to main content

Bytepluscc Resource Provider

The Bytepluscc resource provider for Pulumi lets you use byteplus resources in your cloud programs. To use this package, please install the Pulumi CLI first.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @byteplus/pulumi-bytepluscc

or yarn:

$ yarn add @byteplus/pulumi-bytepluscc

Python

To use from Python, install using pip:

$ pip install pulumi_bytepluscc

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/byteplus-sdk/pulumi-bytepluscc/sdk

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Byteplus.Pulumi.Bytepluscc

Configuration Reference

In addition to generic provider arguments (e.g. alias and version), the following arguments are supported in the Bytepluscc provider configuration:

Optional

  • accessKey (String) The Access Key for Byteplus Provider. It must be provided, but it can also be sourced from the BYTEPLUS_ACCESS_KEY environment variable
  • secretKey (String) The Secret Key for Byteplus Provider. It must be provided, but it can also be sourced from the BYTEPLUS_SECRET_KEY environment variable
  • sessionToken (String) The Session Token for Byteplus Provider. It is required when using temporary STS credentials, and can also be sourced from the BYTEPLUS_SESSION_TOKEN environment variable
  • profile (String) The Profile for Byteplus Provider. It can be used as an alternative authentication method to AK/SK, and can also be sourced from the BYTEPLUS_PROFILE environment variable
  • file_path (String) The File Path for Byteplus Provider. It specifies the path to the profile configuration file. If not specified, the default path ~/.byteplus will be used, and can also be sourced from the BYTEPLUS_FILE_PATH environment variable
  • assumeRole (Attributes) An assume_role block (documented below). Only one assume_role block may be in the configuration. (see below for nested schema)
  • customerHeaders (String) CUSTOMER HEADERS for Byteplus Provider. The customer_headers field uses commas (,) to separate multiple headers, and colons (:) to separate each header key from its corresponding value.
  • disableSsl (Boolean) Disable SSL for Byteplus Provider
  • endpoints (Attributes) An endpoints block (documented below). Only one endpoints block may be in the configuration. (see below for nested schema)
  • proxyUrl (String) PROXY URL for Byteplus Provider
  • region (String) The Region for Byteplus Provider. It must be provided, but it can also be sourced from the BYTEPLUS_REGION environment variable

Credentials and state encryption

The provider marks accessKey, secretKey, and sessionToken as Pulumi secrets, including values supplied through environment variables. Pulumi encrypts these provider inputs and outputs in the stack state using the stack's secrets provider. Environment variables can still be copied into provider state; they do not prevent credentials from being persisted.

Store stack configuration as secrets as well. Run these commands without a value argument to enter credentials at the hidden prompt:

pulumi config set --secret bytepluscc:accessKey
pulumi config set --secret bytepluscc:secretKey
# Only when using temporary STS credentials:
pulumi config set --secret bytepluscc:sessionToken

When constructing a provider explicitly, use secret inputs, especially with older provider versions. For example, in TypeScript:

const config = new pulumi.Config("bytepluscc");
const provider = new bytepluscc.Provider("bytepluscc", {
    accessKey: config.requireSecret("accessKey"),
    secretKey: config.requireSecret("secretKey"),
    sessionToken: config.getSecret("sessionToken"),
});

Earlier versions did not mark these fields as secrets. To migrate an affected stack, upgrade both the provider plugin and language SDK to a release containing this fix, convert any plaintext stack configuration using the commands above, review pulumi preview, and run pulumi up. Verify that the provider's credential fields in both inputs and outputs contain ciphertext objects in a normal pulumi stack export. Do not use --show-secrets for this check: that option intentionally decrypts secrets.

Updating the current state does not erase plaintext credentials from older state versions, backups, exports, or logs. If credentials were exposed, rotate them and handle those copies according to your backend's retention and access policies.

Nested Schema for assume_role

Required:

  • assumeRoleTrn (String) he TRN of the role to assume.

  • durationSeconds (Number) The duration of the session when making the AssumeRole call. Its value ranges from 900 to 43200(seconds), and default is 3600 seconds. Optional:

  • policy (String) A more restrictive policy when making the AssumeRole call

Nested Schema for endpoints

Optional:

  • cloudcontrolapi (String) Use this to override the default Cloud Control API service endpoint URL
  • sts (String) Use this to override the default STS service endpoint URL

Security and privacy

This project takes security seriously. For vulnerability reporting and supported versions, see SECURITY.md

Metadata

Release files for pulumi-bytepluscc 0.0.57

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumi-bytepluscc 0.0.57
File Size Uploaded Provenance Actions
pulumi_bytepluscc-0.0.57.tar.gz 2.6 MB Without provenance Details for pulumi_bytepluscc-0.0.57.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pulumi-bytepluscc 0.0.57
File Interpreter ABI Platform Actions
pulumi_bytepluscc-0.0.57-py3-none-any.whl Python 3 none any Details for pulumi_bytepluscc-0.0.57-py3-none-any.whl

Total release size: 6.2 MB

Release files / pulumi_bytepluscc-0.0.57.tar.gz

Download URL pulumi_bytepluscc-0.0.57.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
0c8c3c51d121b26f887926ec81d94c38828fe1c672c2e025a724e7450955b95e
BLAKE2b-256 checksum
How to use checksums
5c03b6c9bfa5e539059975211872e393063a270d6b1b64c1eb3fc5dcd88d3040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pulumi_bytepluscc-0.0.57-py3-none-any.whl

Download URL pulumi_bytepluscc-0.0.57-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4cb328d1e32b8b37aa2442bb779fc26e2950a90b99d3ca8cdcb0f054a6d25a07
BLAKE2b-256 checksum
How to use checksums
9a95967fac6f78773be42bddbdf7e334826e29aa97253a9d7e44e43c7ecbb9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pulumi-bytepluscc 0.0.57

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.57 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page