Linux command
pulumi-login 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Login to Pulumi Cloud
pulumi login
Login to local backend
pulumi login --local
Login to specific cloud
pulumi login [url]
Login to S3 backend
pulumi login s3://[bucket]
说明
pulumi login authenticates with a Pulumi backend. Supports Pulumi Cloud, self-hosted backends, and cloud storage backends (S3, Azure Blob, GCS). Backend stores stack state and history.
参数
- --local
- Use local file backend.
- --cloud-url _url_
- Specify backend URL.
- -c, --cloud
- Login to Pulumi Cloud.
FAQ
What is the pulumi-login command used for?
pulumi login authenticates with a Pulumi backend. Supports Pulumi Cloud, self-hosted backends, and cloud storage backends (S3, Azure Blob, GCS). Backend stores stack state and history.
How do I run a basic pulumi-login example?
Run `pulumi login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --local do in pulumi-login?
Use local file backend.