globus_gss...credential(3)

πŸ“¦
version 12.7 Β· 5 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

🌸 globus_gss...credential πŸ’…

okay bestie, welcome to the Library Functions Manual page for globus_gss...credential β€” it's part of the globus_gss_assist fam, and it's all about getting your credentials sorted. let's go ✨


πŸ’– NAME πŸ’–

globus_gss_assist_credential β€” Credential Management

  • Acquire Credential.

periodt. that's the whole job. it acquires credentials. iconic behavior honestly πŸ‘‘


✨ SYNOPSIS ✨

πŸŽ€ Functions

OM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status,
    gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle)
OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 *minor_status,
    char *desired_name_char, OM_uint32 time_req, const gss_OID_set
    desired_mechs, gss_cred_usage_t cred_usage, gss_cred_id_t
    *output_cred_handle, gss_OID_set *actual_mechs, OM_uint32 *time_rec)
OM_uint32 globus_gss_assist_read_vhost_cred_dir (OM_uint32
    *minor_status, const char *dir, gss_cred_id_t
    **output_credentials_array, size_t *output_credentials_array_size)

Acquire all GSSAPI credentials in a directory. πŸ—‚οΈ


πŸ¦‹ Detailed Description πŸ¦‹

Acquire Credential.

The functions in this section are used to acquire security credentials. that's it, that's the vibe. you want creds? these are the little guys that go get them for you 🫢


🌈 Function Documentation 🌈

⭐ OM_uint32 globus_gss_assist_acquire_cred (OM_uint32 * minor_status, gss_cred_usage_t cred_usage, gss_cred_id_t * output_cred_handle)

Called once at the start of the process, to obtain the credentials the process is running under. The

ngl bestie the original sentence just... ends on "The" πŸ’€ not me finishing a thought for it, we do not make the rules, we just report them faithfully.

πŸ’œ Parameters

  • minor_status β€” pointer for return code
  • cred_usage β€” GSS_C_INITIATE, GSS_C_ACCEPT, or GSS_C_BOTH
  • output_cred_handle β€” Pointer to the returned handle. This needs to be passed to many gss routines.

πŸ’– Returns

  • GSS_S_COMPLETE on success
  • Other GSSAPI return codes

⭐ OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 * minor_status, char * desired_name_char, OM_uint32 time_req, const gss_OID_set desired_mechs, gss_cred_usage_t cred_usage, gss_cred_id_t * output_cred_handle, gss_OID_set * actual_mechs, OM_uint32 * time_rec)

Called once at the start of the process, to obtain the credentials the process is running under. All the parameters of the gss_acquire_cred(), except the desired_name is a string of the form: [type:]name. This will be imported with the type. ✨

πŸ’– Returns

  • GSS_S_COMPLETE on success
  • Other GSSPI return codes

πŸ” See also

  • globus_gss_acquire_cred

⭐ OM_uint32 globus_gss_assist_read_vhost_cred_dir (OM_uint32 * minor_status, const char * dir, gss_cred_id_t ** output_credentials_array, size_t * output_credentials_array_size)

Acquire all GSSAPI credentials in a directory. This function loads all of the credentials available in the vhost credential directory and returns them in its output parameters. πŸ’…

The credentials directory is expected to contain a directory for each credential, with the directory containing cert.pem and privkey.pem files. πŸ—οΈ

If the dir parameter is NULL, then this function uses the X509_VHOST_CRED_DIR environment variable, or the default /etc/grid-security/vhosts/ if it is not set.

heads up bestie β€” that default path is /etc/grid-security/vhosts/ exactly as written, hyphen wrap in the original and all, no cap. πŸ™ˆ

πŸ’œ Parameters

  • minor_status β€” Mechanism-specific error code
  • dir β€” Optional directory name to override X509_VHOST_CRED_DIR
  • output_credentials_array β€” Pointer to a dynamic array allocated to hold credentials
  • output_credentials_array_size β€” Pointer to be set to the resulting size (in bytes) of the output_credentials_array

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for globus_gss_assist from the source code. (so nobody hand-wrote this and honestly? respect the automation 😭)


and that's the whole page, bestie!! this came to you courtesy of globus_gss_assist, Version 12.7 πŸ’– go forth and acquire those credentials, you main character πŸ¦‹βœ¨πŸŽ€