Struct octorust::types::ActionsCreateUpdateOrgSecretRequest [−][src]
pub struct ActionsCreateUpdateOrgSecretRequest { pub encrypted_value: String, pub key_id: String, pub selected_repository_ids: Vec<String>, pub visibility: ActionsCreateUpdateOrgSecretRequestVisibility, }
Fields
encrypted_value: String
Value for your secret, encrypted with LibSodium using the public key retrieved from the Get an organization public key endpoint.
key_id: String
ID of the key you used to encrypt the secret.
selected_repository_ids: Vec<String>
An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility
is set to selected
. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints.
visibility: ActionsCreateUpdateOrgSecretRequestVisibility
Configures the access that repositories have to the organization secret. Can be one of:
- all
- All repositories in an organization can access the secret.
- private
- Private repositories in an organization can access the secret.
- selected
- Only specific repositories can access the secret.
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for ActionsCreateUpdateOrgSecretRequest
impl Sync for ActionsCreateUpdateOrgSecretRequest
impl Unpin for ActionsCreateUpdateOrgSecretRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more