NAME

Kubernetes::REST::AuthToken - Kubernetes API authentication token

VERSION

version 1.107

SYNOPSIS

use Kubernetes::REST::AuthToken;

my $auth = Kubernetes::REST::AuthToken->new(
    token => $bearer_token,
);

DESCRIPTION

Authentication credentials for Kubernetes API requests using bearer token authentication.

Kubernetes::REST's credentials attribute accepts an instance of this class, a plain hashref (coerced into one automatically), or any other object that implements a token() method.

token

Required. The bearer token for API authentication.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/pplu/kubernetes-rest/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHORS

  • Torsten Raudssus <getty@cpan.org>

  • Jose Luis Martinez Torres <jlmartin@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004