create_access_key
Create access keys for Semaphore projects to authenticate with SSH keys or login credentials, enabling secure Ansible automation.
Instructions
Create a new access key.
Args: project_id: ID of the project name: Name for the access key key_type: Type of key - one of: - "none": For public repositories (no credentials needed) - "ssh": For SSH key authentication - "login_password": For username/password authentication login: Username (for ssh or login_password types) password: Password (for login_password type) private_key: Private key content (for ssh type)
Returns: Created access key details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| name | Yes | ||
| key_type | Yes | ||
| login | No | ||
| password | No | ||
| private_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||