- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Enabling OS Login binds SSH certificates to IAM users and facilitates effective SSH certificate management.
Enabling OS Login ensures that SSH keys used to connect to instances are mapped to IAM users. Revoking access to an IAM user will revoke all the SSH keys associated with that particular user. It facilitates centralized and automated SSH key pair management, which is useful in handling cases like compromised SSH key pairs and/or revocation of external, third-party, vendor users.
To use OS Login, the instance using Custom Images must have the latest version of the Linux Guest Environment installed. The following image families do not support OS Login:
The project’s enable-oslogin
can be overridden by setting the enable-oslogin
parameter to an
instance metadata individually.
Enabling OS Login on a project disables metadata-based SSH key configurations on all instances of a project. Disabling OS Login restores SSH keys that you have configured in a project’s or an instance’s metadata.
VMs created by GKE should be excluded. These VMs have names that start with gke-
and are labeled goog-gke-node
.
By default, the parameter enable-oslogin
is not set, which is equivalent to setting it to FALSE
.
enable-oslogin
with the value TRUE
.enable-oslogin
set to FALSE
.Configure OS Login for the project by running the following command:
gcloud compute project-info add-metadata --metadata enable-oslogin=TRUE
Use the following command to remove instance metadata that overrides the project setting:
gcloud compute instances remove-metadata <INSTANCE_NAME> --keys=enable-oslogin
Optionally, you can enable two-factor authentication for OS Login. See Setting up OS Login with 2-step verification for more information.