Render a host's AuthorizedPrincipalsFile map (fleet token)
GET
/external/ssh/hosts/{fqdn}/auth-principals
const url = 'https://pki.example.com/api/v1/external/ssh/hosts/example/auth-principals';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://pki.example.com/api/v1/external/ssh/hosts/example/auth-principals \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”fqdn
required
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
key
additional properties
any
Example generated
{}