Function assert_controllers
Source pub fn assert_controllers(access_keys_ids: &[AccessKeyId]) -> Result<(), String>
Expand description
Asserts that the access key IDs are not anonymous and not revoked.
§Arguments
access_keys_ids: Slice of AccessKeyId to validate.
§Returns
Ok(()) if no anonymous and no revoked IDs are present, or Err(String) if any are found.