প্রমাণীকরণ টোকেন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিয়ারার টোকেন ( JWT: RFC 7516 ) আইডেন্টিটি পার্টনার (IdP) দ্বারা জারি করা ব্যবহারকারীর পরিচয় প্রত্যয়িত করার জন্য।
JSON প্রতিনিধিত্ব |
---|
{
"aud": string,
"email": string,
"exp": string,
"iat": string,
"iss": string,
"google_email": string,
...
} |
ক্ষেত্র |
---|
aud | string দর্শক, আইডিপি দ্বারা চিহ্নিত. স্থানীয় কনফিগারেশনের বিরুদ্ধে পরীক্ষা করা উচিত। |
email | string (UTF-8) ব্যবহারকারীর ইমেইল ঠিকানা. |
exp | string মেয়াদ শেষ হওয়ার সময়। |
iat | string ইস্যু করার সময়। |
iss | string টোকেন প্রদানকারী। প্রমাণীকরণ ইস্যুকারীর বিশ্বস্ত সেটের বিরুদ্ধে যাচাই করা উচিত। |
google_email | string একটি ঐচ্ছিক দাবি, যখন এই JWT-এ ইমেল দাবি ব্যবহারকারীর Google Workspace ইমেল আইডি থেকে আলাদা হয় তখন ব্যবহার করা হবে। এই দাবিটি ব্যবহারকারীর Google Workspace ইমেল পরিচয় বহন করে। |
... | আপনার কী অ্যাক্সেস কন্ট্রোল লিস্ট সার্ভিস (KACLS) পরিধি মূল্যায়ন করার জন্য অন্য কোনো দাবি (অবস্থান, কাস্টম দাবি, ইত্যাদি) ব্যবহার করার জন্য বিনামূল্যে। |
delegate
জন্য KACLS প্রমাণীকরণ টোকেন
প্রমাণীকরণ টোকেনে একটি JSON ওয়েব টোকেন (JWT) ( JWT: RFC 7516 ) রয়েছে যা একটি বহনকারী প্রমাণীকরণ টোকেন।
কখনও কখনও একজন ব্যবহারকারী সরাসরি একটি ক্লায়েন্টকে প্রমাণীকরণ করতে সক্ষম হয় না। এই ক্ষেত্রে ব্যবহারকারী সেই ক্লায়েন্টকে একটি নির্দিষ্ট সংস্থানে তাদের অ্যাক্সেস অর্পণ করতে পারে। এটি একটি নতুন প্রতিনিধিত্ব প্রমাণীকরণ টোকেন প্রদানের মাধ্যমে অর্জন করা হয় যা মূল প্রমাণীকরণ টোকেনের সুযোগকে সীমিত করে।
অর্পিত প্রমাণীকরণ টোকেন একটি অতিরিক্ত দাবি সহ সাধারণ প্রমাণীকরণ টোকেনের অনুরূপ:
দাবি |
---|
delegated_to | string প্রমাণীকরণ অর্পণ করার জন্য সত্তার জন্য একটি শনাক্তকারী৷ |
প্রমাণীকরণ টোকেনে resource_name
দাবিটি, একটি প্রতিনিধি প্রেক্ষাপটে, ডেটা এনক্রিপশন কী (DEK) দ্বারা এনক্রিপ্ট করা বস্তু সনাক্ত করতে ব্যবহৃত হয় যার জন্য প্রতিনিধিটি বৈধ।
টোকেনটি Delegate
কল ব্যবহার করে কী অ্যাকসেস কন্ট্রোল লিস্ট সার্ভিস (কেএসিএলএস) দ্বারা জারি করা হয়। এটি হয় স্ব-স্বাক্ষরিত JWT হতে পারে যা KACLS যাচাই করতে সক্ষম, অথবা KACLS এটি করার জন্য অন্য কোনো আইডিপি ব্যবহার করতে পারে, একটি বিশ্বস্ত কলের মাধ্যমে।
অর্পিত প্রমাণীকরণ টোকেন বৈধ বলে বিবেচিত হওয়ার জন্য, একই অপারেশনের জন্য একটি অর্পিত অনুমোদন টোকেন প্রদান করতে হবে। অর্পিত অনুমোদন টোকেনটি সাধারণ অনুমোদন টোকেনের মতোই, তবে অতিরিক্ত দাবি delegated_to
ধারণ করে। delegated_to
এবং resource_name
দাবির মান অবশ্যই অর্পিত প্রমাণীকরণ টোকেনের মানগুলির সাথে মিলবে।
আমরা সুপারিশ করি যে আপনি অর্পিত প্রমাণীকরণ টোকেনগুলির জন্য 15 মিনিটের একটি আজীবন মান সেট করুন যাতে ফুটো হওয়ার ক্ষেত্রে সম্ভাব্য পুনঃব্যবহার এড়ানো যায়।
JSON প্রতিনিধিত্ব |
---|
{
"email": string,
"iss": string,
"aud": string,
"exp": string,
"iat": string,
"google_email": string,
"delegated_to": string,
"resource_name": string
...
} |
ক্ষেত্র |
---|
email | string (UTF-8) ব্যবহারকারীর UTF-8 ফরম্যাট করা ইমেল ঠিকানা। |
iss | string টোকেন ইস্যুকারী, প্রমাণীকরণ ইস্যুকারীদের বিশ্বস্ত সেটের বিরুদ্ধে যাচাই করা উচিত। |
aud | string দর্শক, আইডিপি দ্বারা চিহ্নিত. স্থানীয় কনফিগারেশনের বিরুদ্ধে পরীক্ষা করা উচিত। |
exp | string মেয়াদ শেষ হওয়ার সময়, পরীক্ষা করা উচিত। |
iat | string ইস্যু সময়, চেক করা উচিত. |
delegated_to | string প্রমাণীকরণ অর্পণ করার জন্য সত্তার জন্য একটি শনাক্তকারী৷ |
resource_name | string DEK দ্বারা এনক্রিপ্ট করা বস্তুর জন্য একটি শনাক্তকারী, যার জন্য প্রতিনিধিত্ব বৈধ। |
... | KACLS পরিধি মূল্যায়ন করতে অন্য কোনো দাবি (অবস্থান, কাস্টম দাবি, ইত্যাদি...) ব্যবহার করার জন্য বিনামূল্যে। |
PrivilegedUnwrap
এর জন্য KACLS প্রমাণীকরণ টোকেন
বিয়ারার টোকেন ( JWT: RFC 7516 ) আইডেন্টিটি পার্টনার (IdP) দ্বারা জারি করা ব্যবহারকারীর পরিচয় প্রত্যয়িত করার জন্য।
এটি শুধুমাত্র PrivilegedUnwrap
এ ব্যবহৃত হয়। PrivilegedUnwrap
এর সময়, যদি একটি IDP প্রমাণীকরণ টোকেনের জায়গায় একটি KACLS JWT ব্যবহার করা হয়, তাহলে প্রাপক KACLSকে অবশ্যই প্রথমে ইস্যুকারীর JWKS আনতে হবে, তারপর দাবিগুলি পরীক্ষা করার আগে টোকেন স্বাক্ষর যাচাই করতে হবে।
JSON প্রতিনিধিত্ব |
---|
{
"aud": string,
"exp": string,
"iat": string,
"iss": string,
"kacls_url": string,
"resource_name": string
...
} |
ক্ষেত্র |
---|
aud | string দর্শক, আইডিপি দ্বারা চিহ্নিত. ড্রাইভ ক্লায়েন্ট-সাইড এনক্রিপশন (CSE) PrivilegedUnwrap অপারেশনের জন্য, এটি kacls-migration হওয়া উচিত। |
exp | string মেয়াদ শেষ হওয়ার সময়। |
iat | string জারি করার সময়। |
iss | string টোকেন প্রদানকারী। প্রমাণীকরণ ইস্যুকারীর বিশ্বস্ত সেটের বিরুদ্ধে যাচাই করা উচিত। অনুরোধকারী KACLS এর KACLS_URL সাথে অবশ্যই মিলতে হবে। ইস্যুকারীর সর্বজনীন কী সেট এখানে পাওয়া যাবে /certs । |
kacls_url | string বর্তমান KACLS এর URL, যেটিতে ডেটা ডিক্রিপ্ট করা হচ্ছে। |
resource_name | string DEK দ্বারা এনক্রিপ্ট করা বস্তুর জন্য একটি শনাক্তকারী। সর্বোচ্চ আকার: 128 বাইট। |
... | আপনার কী অ্যাক্সেস কন্ট্রোল লিস্ট সার্ভিস (KACLS) পরিধি মূল্যায়ন করার জন্য অন্য কোনো দাবি (অবস্থান, কাস্টম দাবি, ইত্যাদি) ব্যবহার করার জন্য বিনামূল্যে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-04 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-04 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eKACLS uses bearer tokens (JWTs) issued by an identity provider (IdP) to verify user identity and authorize access.\u003c/p\u003e\n"],["\u003cp\u003eJWTs contain essential claims like audience, email, expiration, issuance, issuer, and potentially a Google Workspace email for specific scenarios.\u003c/p\u003e\n"],["\u003cp\u003eFor \u003ccode\u003ePrivilegedUnwrap\u003c/code\u003e operations, a KACLS JWT is used, requiring the recipient KACLS to verify the token signature and claims after fetching the issuer's JWKS.\u003c/p\u003e\n"],["\u003cp\u003eKACLS JWTs include specific claims like \u003ccode\u003ekacls_url\u003c/code\u003e and \u003ccode\u003eresource_name\u003c/code\u003e relevant to the decryption process.\u003c/p\u003e\n"],["\u003cp\u003eKACLS offers flexibility by allowing the use of additional claims for perimeter evaluation and custom authorization logic.\u003c/p\u003e\n"]]],["The document outlines two types of Bearer tokens (JWTs) used for user identity and KACLS authentication. User identity tokens, issued by the IdP, include fields like `aud`, `email`, `exp`, `iat`, `iss`, and `google_email` for email verification. KACLS authentication tokens, used during `PrivilegedUnwrap`, contain `aud` (specifically `kacls-migration`), `exp`, `iat`, `iss`, `kacls_url`, and `resource_name`. KACLS must verify the KACLS JWT's signature and claims after fetching the issuer's JWKS. Both types allow for custom claims.\n"],null,["# Authentication tokens\n\nBearer token ([JWT: RFC 7516](https://tools.ietf.org/html/rfc7516))\nissued by the identity partner (IdP) to attest a user's identity.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"aud\": string, \"email\": string, \"exp\": string, \"iat\": string, \"iss\": string, \"google_email\": string, ... } ``` |\n\n| Fields ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `aud` | `string` The audience, as identified by the IdP. Should be checked against the local configuration. |\n| `email` | `string (UTF-8)` The user's email address. |\n| `exp` | `string` Expiration time. |\n| `iat` | `string` Issuance time. |\n| `iss` | `string` The token issuer. Should be validated against the trusted set of authentication issuers. |\n| `google_email` | `string` An optional claim, to be used when the email claim in this JWT is different from the user's Google Workspace email ID. This claim carries the user's Google Workspace email identity. |\n| `...` | Your Key Access Control List Service (KACLS) is free to use any other claims (location, custom claim, etc) to evaluate the perimeter. |\n\nKACLS authentication token for `delegate`\n-----------------------------------------\n\nThe authentication token contains a JSON Web Token (JWT) ([JWT: RFC 7516](https://tools.ietf.org/html/rfc7516))\nthat is a bearer authentication token.\n\nSometimes a user is not able to authenticate on a client directly.\nIn these cases the user can delegate their access to a specific\nresource to that client. This is achieved through issuing a new\ndelegated authentication token that limits the scope of the original\nauthentication token.\n\nThe delegated authentication token is similar to the ordinary\nauthentication token with one additional claim:\n\n| claim ||\n|----------------|----------------------------------------------------------------------|\n| `delegated_to` | `string` An identifier for the entity to delegate authentication to. |\n\nThe `resource_name` claim in the authentication token is, in a\ndelegation context, used for identifying the object encrypted by the\nData Encryption Key (DEK) for which the delegation is valid.\n\nThe token is issued by the Key Access Control List Service (KACLS)\nusing the `Delegate` call. It may be either self-signed JWTs\nthat KACLS is able to validate, or KACLS may use any other IdP to do\nthat, through a trusted call.\n\nIn order for the delegated authentication token to be considered valid, a\ndelegated authorization token must be provided for the same operation. The\ndelegated authorization token is similar to the ordinary authorization token,\nbut contains the additional claim `delegated_to`. The values of the\n`delegated_to` and `resource_name` claims must match the values in the\ndelegated authentication token.\n\nWe recommend that you set a lifetime value of 15 minutes for the delegated\nauthentication tokens to avoid potential reuse in case of leakage.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"email\": string, \"iss\": string, \"aud\": string, \"exp\": string, \"iat\": string, \"google_email\": string, \"delegated_to\": string, \"resource_name\": string ... } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------|\n| `email` | `string (UTF-8)` The user's UTF-8 formatted email address. |\n| `iss` | `string` The token issuer, should be validated against the trusted set of authentication issuers. |\n| `aud` | `string` The audience, as identified by the IdP. Should be checked against the local configuration. |\n| `exp` | `string` Expiration time, should be checked. |\n| `iat` | `string` Issuance time, should be checked. |\n| `delegated_to` | `string` An identifier for the entity to delegate authentication to. |\n| `resource_name` | `string` An identifier for the object encrypted by the DEK, for which the delegation is valid. |\n| `...` | The KACLS is free to use any other claims (location, custom claim, etc...) to evaluate the perimeter. |\n\nKACLS authentication token for `PrivilegedUnwrap`\n-------------------------------------------------\n\nBearer token ([JWT: RFC 7516](https://tools.ietf.org/html/rfc7516))\nissued by the identity partner (IdP) to attest a user's identity.\n\nThis is only used on `PrivilegedUnwrap`. During `PrivilegedUnwrap`, if a KACLS\nJWT is used in place of an IDP authentication token, the recipient KACLS must\nfirst fetch the JWKS of the issuer, then verify the token signature, before\nchecking the claims.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"aud\": string, \"exp\": string, \"iat\": string, \"iss\": string, \"kacls_url\": string, \"resource_name\": string ... } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `aud` | `string` The audience, as identified by the IdP. For Drive client-side encryption (CSE) `PrivilegedUnwrap` operations, this should be `kacls-migration`. |\n| `exp` | `string` Expiration time. |\n| `iat` | `string` Issuance time. |\n| `iss` | `string` The token issuer. Should be validated against the trusted set of authentication issuers. Must match the `KACLS_URL` of the requesting KACLS. The public key set of the issuer can be found at /certs. |\n| `kacls_url` | `string` URL of current KACLS, that the data is being decrypted on. |\n| `resource_name` | `string` An identifier for the object encrypted by the DEK. Maximum size: 128 bytes. |\n| `...` | Your Key Access Control List Service (KACLS) is free to use any other claims (location, custom claim, etc) to evaluate the perimeter. |"]]