Keycloak
Keycloak allows you to use identity federation in Yandex Cloud Organization.
Keycloak configuration is stored in Managed Service for PostgreSQL.
-
Create a service account and assign it the
adminandorganization-manager.adminroles for your folder and organization, respectively. -
Create a cloud network without subnets.
-
Create a public DNS zone.
-
Get an SSH key pair to connect to a virtual machine.
-
In the management console, select Cloud Apps.
-
On the left-hand panel, select Marketplace.
-
Select Keycloak and click Use.
-
Specify the following:
- Application name.
- Application description (not required).
- Service account you previously created.
- ID of the organization to create a federation in.
- ID of the cloud network you previously created.
- CIDR of the subnet in the
ru-central1-aavailability zone. The subnet will be automatically created in the specified cloud network when installing the application. - ID and domain of the DNS zone you previously created.
- Service name, e.g.,
keycloak. - Keycloak and database admin passwords.
- Public SSH key to access the VM over SSH.
-
Click Install.
-
Wait for the application to change its status to
Deployed.This may take from 10 to 15 minutes. After installing the app, you will see a new certificate in Yandex Certificate Manager, a VM named Keycloak in Yandex Compute Cloud, and a new federation in Yandex Cloud Organization.
-
Open
http://<public_DNS_zone_domain>:8443/adminin your browser. -
Use the following properties for authorization:
- User name or email:
admin - Password: Keycloak admin password specified when creating the application.
- User name or email:
-
Add a
keycloakuser:- In the left-hand panel, select Users.
- Click Add user and specify user data.
- Click Save.
- In the Credentials tab, click Set Password and enter a password.
-
Authenticate as
keycloakusing the federation link specified in Yandex Cloud Organization.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
| Resource type | Quantity |
|---|---|
| Virtual machine | 1 |
| Cloud DNS resource records | 2 |
| TLS certificate | 1 |
| PostgreSQL cluster | 1 |
| PostgreSQL user | 1 |
| PostgreSQL database | 1 |
| VPC security groups | 2 |
| VPC IP address | 1 |
| VPC gateway | 1 |
| VPC route table | 1 |
| VPC subnet | 1 |
| Service account | 1 |
| Access rights for folder | 3 |
| Access rights for organization | 1 |