Find all polynomials $P(x)$ with real coefficients that satisfy the identity $$P(x^3-2)=P(x)^3-2,$$ for every real number $x$.
1. **Assume the polynomial form**: Let \( P(x) \) be a polynomial with real coefficients. We need to find \( P(x) \) such that the identity \( P(x^3 - 2) = P(x)^3 - 2 \) holds for all real \( x \).

2. **Degree analysis**: Let the degree of \( P(x) \) be \( n \). Then, the degree of \( P(x^3 - 2) \) is \( 3n \) because \( x^3 - 2 \) is a polynomial of degree 3. On the other hand, the degree of \( P(x)^3 \) is \( 3n \) as well. Therefore, the degrees on both sides of the equation match, which is consistent.

3. **Consider the simplest case**: Let's start by considering the simplest polynomial, \( P(x) = x \). Substituting \( P(x) = x \) into the given identity:
   \[
   P(x^3 - 2) = x^3 - 2
   \]
   and
   \[
   P(x)^3 - 2 = x^3 - 2.
   \]
   Both sides are equal, so \( P(x) = x \) is a solution.

4. **Check for higher degree polynomials**: Suppose \( P(x) \) is a polynomial of degree \( n > 1 \). Write \( P(x) \) in the general form:
   \[
   P(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0.
   \]
   Substituting \( x^3 - 2 \) into \( P(x) \):
   \[
   P(x^3 - 2) = a_n (x^3 - 2)^n + a_{n-1} (x^3 - 2)^{n-1} + \cdots + a_1 (x^3 - 2) + a_0.
   \]
   On the other hand, \( P(x)^3 \) is:
   \[
   P(x)^3 = (a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0)^3.
   \]
   For the identity \( P(x^3 - 2) = P(x)^3 - 2 \) to hold, the polynomial \( P(x) \) must satisfy the condition that the degrees and coefficients on both sides match exactly.

5. **Matching coefficients**: For \( P(x) \) to satisfy the identity for all \( x \), the coefficients of corresponding powers of \( x \) on both sides must be equal. This implies that the polynomial \( P(x) \) must be linear. If \( P(x) \) were of higher degree, the terms involving higher powers of \( x \) would not match on both sides of the equation.

6. **Conclusion**: Since \( P(x) = x \) is the only polynomial that satisfies the given identity for all \( x \), we conclude that \( P(x) = x \) is the only solution.

The final answer is \( \boxed{ P(x) = x } \).