# Auth.md

> Agent registration metadata for SherkatTrade.
> Public read-only. No user accounts required. Credentials are optional and only attribute correspondence.
> Operator contact: <mailto:info@sherkattrade.com>.

## Agent registration

SherkatTrade publishes public read-only metadata for AI agents and autonomous crawlers.
No endpoint requires a credential and there are no user accounts.
The only credential this domain issues is an optional api_key, provided out-of-band on request; it attributes correspondence and grants no additional access. This document describes how an operator can register an agent identity, request metadata corrections, and revoke prior correspondence.

Both roles live on one host. The resource server is https://sherkattrade.com and the authorization server is https://sherkattrade.com.

## Discovery

Read these two documents in this order. The protected resource metadata names an authorization server, three scope names, and bearer tokens in the Authorization header.

- Fetch https://sherkattrade.com/.well-known/oauth-protected-resource and read resource, resource_name, authorization_servers, scopes_supported, and bearer_methods_supported.
- Fetch https://sherkattrade.com/.well-known/oauth-authorization-server and read the agent_auth block: skill, register_uri, claim_uri, revocation_uri, identity_types_supported, and identity_assertion.assertion_types_supported.

There is no WWW-Authenticate challenge. Nothing on this domain answers 401, so there is no challenge to bootstrap from. The protected resource metadata is published so an OAuth-aware agent can find the identity surface without guessing. Read it as discovery and not as protection: every declared resource answers an anonymous request exactly as it answers one carrying a token.

## Scopes

The three supported scopes are:
- `read:products`: Polypropylene woven bags, FIBC jumbo bags, and polymer films catalogue
- `read:company`: Corporate credentials, trading experience, and factory supply corridors
- `read:catalog`: Full technical specifications, bag dimensions, gsm, and export logistics

No scope grants access that anonymous does not already have, because all public content is freely accessible.

## Identity

- Operator: SherkatTrade International Packaging & Polymer Trading Group
- Trade name: SherkatTrade
- Website: https://sherkattrade.com/
- Verified contact: <mailto:info@sherkattrade.com>
- WhatsApp & Phone: +98 913 113 2476
- Industry: Industrial packaging and polymer export

## Supported identity types

- **anonymous**: no registration needed, every resource is public read-only; an api_key can be issued out-of-band on request.
- **identity_assertion**: a registered operator identity, backed by a verified email (`verified_email`) or a signed assertion (`urn:ietf:params:oauth:token-type:id-jag`).

A credential only attributes correspondence. Every resource is public, none requires a credential, and no credential grants additional access.

## Registration

Registration is handled via email at <mailto:info@sherkattrade.com?subject=agent%20registration>. Include:

- Agent identifier and software name
- Operator name and legal entity
- Purpose of access (search indexing, product inquiry assistance, catalog ingestion)
- Expected request rate (per minute/hour)
- Public contact URI for the operator

Written confirmation is provided within one business day.

## Claim

To claim an existing identifier, email <mailto:info@sherkattrade.com?subject=agent%20claim>. Include proof of operator control (DNS TXT record, signed message from known domain, or corporate email).

## Revocation

To revoke an agent registration, contact <mailto:info@sherkattrade.com?subject=agent%20revocation>.
