Esse procedimento cria um locatário por meio de um nó de bootstrap.
Procedimento:
-
Execute o comando para criar um locatário. Por exemplo:
wso access create-tenant # OUTPUT # wso access create-tenant Starting first tenant creation First tenant created successfully Waiting for saas restart signal... saas still responding, waiting for restart... saas still responding, waiting for restart... saas still responding, waiting for restart... saas stopped responding, restart detected. Waiting for SAAS service to be ready... Waiting for saas to become ready (timeout: 600s, interval: 5s)... [0s elapsed] saas: Not ready, retrying in 5s... [5s elapsed] saas: Not ready, retrying in 5s... [10s elapsed] saas: Not ready, retrying in 5s... [15s elapsed] saas: Not ready, retrying in 5s... [20s elapsed] saas: Not ready, retrying in 5s... [25s elapsed] saas: Not ready, retrying in 5s... [307s elapsed] saas: Not ready, retrying in 5s... [312s elapsed] saas: Not ready, retrying in 5s... [317s elapsed] saas: Not ready, retrying in 5s... [322s elapsed] saas: Not ready, retrying in 5s... [327s elapsed] saas: Not ready, retrying in 5s... Service saas is ready (after 332s) Clearing GreenBox service token cache sample tenant creation in progress... Tenant Login URL: https://sample.example.com/auth/login TenantName: sample Username: admin Reset Password Link: https://sample.example.com/SAAS/auth/reset?token=eyJ1c2VybmFtZSI6ImFkbWluIiwiZG9tYWluIjoiU3lzdGVtIERvbWFpbiIsImNvZGUiOiIlSWpMZEszLlprJG5CVUE4aGxpV0d0LFY0bUQ8VFRAKHVmcitFW09NIn0Nota: o link de redefinição de senha expira em 24 horas.
Resultado: após a criação, você recebe as seguintes informações:
- URL do locatário
- Nome de usuário de administrador
-
Use o link de redefinição da saída do comando para definir a senha do administrador.
A política de senhas exige que a senha inclua o seguinte:
- Ter, pelo menos, 15 caracteres.
- Ter, pelo menos, um dígito (0-9).
- Ter, pelo menos, uma letra maiúscula (A-Z).
- Ter, pelo menos, um caractere especial.
-
Inicialize a configuração SMTP para o locatário executando o seguinte comando no nó de bootstrap:
wso access smtp init # Output Enter SMTP Password: Validating SMTP configuration... SMTP configuration to validate: xxxxxxxxxx SMTP configuration validated successfully SMTP configuration: True Successfully initialized SMTP configuration
Esta página foi útil?