Documentation
¶
Index ¶
Constants ¶
View Source
const ( SecretTypeSP = "service_principal" SecretTypeStaticSP = "static_service_principal" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AzureGroup ¶ added in v0.5.2
type AzureGroup struct {
GroupName string `json:"group_name"` // e.g. MyGroup
ObjectID string `json:"object_id"` // e.g. 90820a30-352d-400f-89e5-2ca74ac14333
}
AzureGroup is an Azure Active Directory Group (https://docs.microsoft.com/en-us/azure/role-based-access-control/overview). GroupName and ObjectID are both traits of the group. ObjectID is the unique identifier, but GroupName is more useful to a human (though it is not unique).
type AzureRole ¶ added in v0.5.2
type AzureRole struct {
RoleName string `json:"role_name"` // e.g. Owner
RoleID string `json:"role_id"` // e.g. /subscriptions/e0a207b2-.../providers/Microsoft.Authorization/roleDefinitions/de139f84-...
Scope string `json:"scope"` // e.g. /subscriptions/e0a207b2-...
}
AzureRole is an Azure Role (https://docs.microsoft.com/en-us/azure/role-based-access-control/overview) applied to a scope. RoleName and RoleID are both traits of the role. RoleID is the unique identifier, but RoleName is more useful to a human (thought it is not unique).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.