Function create_api_key_request

Source
pub fn create_api_key_request(
    username: &str,
    password: &str,
    key_name: &str,
    config: &Config,
) -> Request<Vec<u8>>
Expand description

Create a request that creates a Hex API key.

API Docs:

https://github.com/hexpm/hex/blob/main/lib/mix/tasks/hex.ex#L137

https://github.com/hexpm/hex/blob/main/lib/hex/api/key.ex#L6