pub struct GcpAccessRules {
pub audience: Option<String>,
pub bound_labels: Option<HashMap<String, String>>,
pub bound_projects: Option<Vec<String>>,
pub bound_regions: Option<Vec<String>>,
pub bound_service_accounts: Option<Vec<String>>,
pub bound_zones: Option<Vec<String>>,
pub service_account: Option<String>,
pub type: Option<String>,
pub unique_identifier: Option<String>,
}Fields§
§audience: Option<String>The audience in the JWT
bound_labels: Option<HashMap<String, String>>A map of GCP labels formatted as "key:value" strings that must be set on authorized GCE instances. TODO: Because GCP labels are not currently ACL’d ….
bound_projects: Option<Vec<String>>Human and Machine authentication section Array of GCP project IDs. Only entities belonging to any of the provided projects can authenticate.
bound_regions: Option<Vec<String>>List of regions that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a regional group and the group must belong to this region. If bound_zones are provided, this attribute is ignored.
bound_service_accounts: Option<Vec<String>>List of service accounts the service account must be part of in order to be authenticated
bound_zones: Option<Vec<String>>=== Machine authentication section === List of zones that a GCE instance must belong to in order to be authenticated. TODO: If bound_instance_groups is provided, it is assumed to be a zonal group and the group must belong to this zone.
service_account: Option<String>ServiceAccount holds the credentials file contents to be used by Akeyless to validate IAM (Human) and GCE (Machine) logins against GCP base64 encoded string
type: Option<String>§unique_identifier: Option<String>A unique identifier to distinguish different users
Implementations§
Source§impl GcpAccessRules
impl GcpAccessRules
pub fn new() -> GcpAccessRules
Trait Implementations§
Source§impl Clone for GcpAccessRules
impl Clone for GcpAccessRules
Source§fn clone(&self) -> GcpAccessRules
fn clone(&self) -> GcpAccessRules
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GcpAccessRules
impl Debug for GcpAccessRules
Source§impl Default for GcpAccessRules
impl Default for GcpAccessRules
Source§fn default() -> GcpAccessRules
fn default() -> GcpAccessRules
Source§impl<'de> Deserialize<'de> for GcpAccessRules
impl<'de> Deserialize<'de> for GcpAccessRules
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GcpAccessRules
impl PartialEq for GcpAccessRules
Source§fn eq(&self, other: &GcpAccessRules) -> bool
fn eq(&self, other: &GcpAccessRules) -> bool
self and other values to be equal, and is used by ==.